Documentation ¶
Overview ¶
Package lru is the concrete implementation of the cache abstraction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache encapsulates a thread-safe fixed size LRU cache as defined in hashicorp/golang-lru.
func (*Cache) Get ¶
Get executes a lookup and returns whether a key exists in the cache along with its value.
Click to show internal directories.
Click to hide internal directories.