chore: enable fullUserCache

This commit is contained in:
icey-yu
2024-09-05 17:22:05 +08:00
parent 7f8d26c36b
commit d9064867d5
12 changed files with 137 additions and 24 deletions
+1
View File
@@ -20,6 +20,7 @@ type EvictCallback[K comparable, V any] simplelru.EvictCallback[K, V]
type LRU[K comparable, V any] interface {
Get(key K, fetch func() (V, error)) (V, error)
Set(key K, value V)
SetHas(key K, value V) bool
Del(key K) bool
Stop()