# Functions
New returns a new LocalLocalCache.
NewLRUHeap creates a new, empty, LRU Heap.
NewLRUQueue creates a new, empty, LRUQueue.
OptLRU sets the LRU implementation.
OptSweepInterval sets the local cache sweep interval.
OptValueExpires sets the ttl for the value.
OptValueOnRemove sets the on remove handler.
OptValueTimestamp sets the timestamp for the value.
OptValueTTL sets the ttl for the value.
# Structs
LocalCache is a memory LocalCache.
LRUHeap is a fifo buffer that is backed by a pre-allocated array, instead of allocating a whole new node object for each element (which saves GC churn).
LRUQueue is a fifo buffer that is backed by a pre-allocated array, instead of allocating a whole new node object for each element (which saves GC churn).
Stats represents cached statistics.
Value is a cached item.
# Type aliases
LocalCacheOption is a local cache option.
LRUHeapValues is an alias that allows for use of a Value array as a heap storage backend.
RemovalReason is a reason for removal.
ValueOption is an option for a cache value.