package
0.0.0-20181009085715-d60a1a227b92
Repository: https://github.com/lightkool/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.