Files
godoxy-yusing/internal
yusing 7a5bcd67b0 refactor(acl): memoize IPAllowed with goutils keyed TTL cache
Replace the xsync map plus manual expiry on checkCache with
cache.NewKeyFunc(evaluateIP).WithTTL. Move deny/allow/default logic into
evaluateIP; wire getCachedCity and IPAllowed through the cache API.

Refresh README security notes and add tests showing cached decisions persist
across in-memory rule changes until TTL expires.
2026-04-19 16:32:36 +08:00
..
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00
2026-03-10 15:01:07 +08:00