Documentation ¶
Index ¶
Constants ¶
View Source
const ( // For use with functions that take an expiration time. NoExpiration time.Duration = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoolCache ¶
type CoolCache struct {
// contains filtered or unexported fields
}
func NewCoolCache ¶
func (*CoolCache) Get ¶
Get an item from the cache. Returns the item or nil, and a bool indicating whether the key was found.
Click to show internal directories.
Click to hide internal directories.