# Functions
NewCache constructs a new Cache that uses the given source.
NewCircularPool creates a fixed-size rotating object pool.
NewValue creates a dynamic implementation of Value based on the period parameter.
# Constants
CachePeriodForever is a special value that means a cache never expires.
CachePeriodForeverValue is the string value indicating that a cache never expires.
CachePeriodNever is a special value indicating something must never be cached.
CachePeriodNeverValue is the string value indicating that something should not be cached.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
CircularPool represents a fixed-size pool whose objects rotate in and out.
Pool represents an object pool.
Value fronts an arbitrary object resulting from some nontrivial operation.
# Type aliases
CachePeriod is a custom type which describes the amount of time before a cached value is considered to have been expired.
ValueFunc is a function type that implements Value.