diff --git a/cache.go b/cache.go index eb291d55..a5a92a9a 100644 --- a/cache.go +++ b/cache.go @@ -10,3 +10,13 @@ type scoreEvent struct { points int } +type clientState struct { + banUntil time.Time + lastSeen time.Time + requests int + sawHome bool + sawStatic bool + sawFavicon bool + events []scoreEvent +} +