Versions in this module Expand all Collapse all v2 v2.2.1 Oct 24, 2025 Changes in this version + type Cache interface + Lookup func(key string) interface{} + Reset func() + Save func(key string, value interface{}) + type CacheWithRemove interface + Remove func(key string) + type LRUCache struct + func NewLRUCache(size int, timeout time.Duration) *LRUCache + func (l *LRUCache) Lookup(key string) interface{} + func (l *LRUCache) Remove(key string) + func (l *LRUCache) Reset() + func (l *LRUCache) Save(key string, value interface{})