//
pkg.gl
Category
github.com/Ciyfly/FakerVitess
go
cache
package
0.0.4
Repository:
https://github.com/ciyfly/fakervitess.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
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.