Documentation ¶
Overview ¶
Package cache implements an LRU cache and a redis cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLRUCache ¶
NewLRUCache creates a new Cache. If maxEntries is zero, the cache has no limit and it's assumed that eviction is done by the caller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.