CacheItem stores the value and the expiry time of a cache entry
| 8 | |
| 9 | // CacheItem stores the value and the expiry time of a cache entry |
| 10 | type CacheItem struct { |
| 11 | Value string |
| 12 | ExpiryTime time.Time |
| 13 | } |
| 14 | |
| 15 | // entry is a helper struct that stores a cache item along with its key |
| 16 | type entry struct { |
nothing calls this directly
no outgoing calls
no test coverage detected