//
pkg.gl
Category
github.com/hashicorp/golang-lru/v2
simplelru
package
2.0.7
Repository:
https://github.com/hashicorp/golang-lru.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
2
Dependents
78
Files
174 SLOC
#
Functions
NewLRU
NewLRU constructs an LRU of the given size.
#
Structs
LRU
LRU implements a non-thread safe fixed size LRU cache.
#
Interfaces
LRUCache
LRUCache is the interface for simple LRU cache.
#
Type aliases
EvictCallback
EvictCallback is used to get a callback when a cache entry is evicted.