entry is a helper struct that stores a cache item along with its key
| 14 | |
| 15 | // entry is a helper struct that stores a cache item along with its key |
| 16 | type entry struct { |
| 17 | key string |
| 18 | value CacheItem |
| 19 | } |
| 20 | |
| 21 | // Cache represents a thread-safe in-memory cache with TTL and LRU eviction policies |
| 22 | type Cache struct { |
nothing calls this directly
no outgoing calls
no test coverage detected