//
pkg.gl
Category
github.com/buildbuddy-io/buildbuddy
server
util
lru
package
1.9.2
Repository:
https://github.com/buildbuddy-io/buildbuddy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
3
Files
172 SLOC
#
Functions
NewLRU
NewLRU constructs an LRU based on the specified config.
#
Structs
Config
Config specifies how the LRU cache is to be constructed.
Entry
Entry is used to hold a value in the evictList.
LRU
LRU implements a non-thread safe fixed size LRU cache.
#
Type aliases
AddedCallback
No description provided by the author
EvictedCallback
EvictedCallback is used to get a callback when a cache Entry is evicted.
SizeFn
No description provided by the author