package
0.0.0-20180920010412-6999b08416f3
Repository: https://github.com/nify/tidb.git
Documentation: pkg.go.dev

# Functions

NewSimpleLRUCache creates a SimpleLRUCache object, whose capacity is "capacity".

# Structs

SimpleLRUCache is a simple least recently used cache, not thread-safe, use it carefully.

# Interfaces

Key is the interface that every key in LRU Cache should implement.
Value is the interface that every value in LRU Cache should implement.