From 9f8f6e289a0fb7fe4e0c591f950e5598ce1b4828 Mon Sep 17 00:00:00 2001 From: hoelee Date: Tue, 10 Feb 2026 18:44:00 +0800 Subject: [PATCH] feat(botfilter): add cacheResult --- cache.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cache.go b/cache.go index e2d2f8af..cb941b66 100644 --- a/cache.go +++ b/cache.go @@ -27,3 +27,9 @@ type requestObservation struct { forceBan bool } +type cacheResult struct { + banned bool + banUntil time.Time + score int +} +