//
pkg.gl
Category
github.com/tiglabs/vitess
go
cache
package
2.1.1+incompatible
Repository:
https://github.com/tiglabs/vitess.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
201 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.