//
pkg.gl
Category
github.com/src-d/go-vitess
cache
package
1.8.0
Repository:
https://github.com/src-d/go-vitess.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
4
Dependents
0
Files
204 SLOC
#
Functions
NewLRUCache
NewLRUCache creates a new empty cache with the given capacity.
#
Structs
Item
Item is what is stored in the cache.
LRUCache
LRUCache is a typical LRU cache implementation.
#
Interfaces
Value
Value is the interface values that go into LRUCache need to satisfy.