CacheEntry
type CacheEntry struct { Body io.Reader
TTL time.Duration}CacheEntry contains the contents and TTL (time-to-live) for an item to be added to the cache via GetOrSet or [GetOrSetContents].
Fields
Body
io.ReaderThe contents of the cached object.
The time-to-live for the cached object.