CacheEntry

Structin simplecompute-sdk-go v1.11.0View source
type CacheEntry struct {
Body io.Reader
}

CacheEntry contains the contents and TTL (time-to-live) for an item to be added to the cache via GetOrSet or [GetOrSetContents].

Fields

The contents of the cached object.

The time-to-live for the cached object.