//
pkg.gl
Category
github.com/opencoff/golang-lru
simplelru
package
0.6.0
Repository:
https://github.com/opencoff/golang-lru.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
157 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.