Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lru ¶
type Lru interface { Get(key interface{}) (value interface{}, ok bool) GetKeyFromValue(value interface{}) (key interface{}, ok bool) PeekKeyFromValue(value interface{}) (key interface{}, ok bool) // Peek means check but NOT bring to top Put(key, value interface{}) }
Lru simple, fast lru cache implementation
Click to show internal directories.
Click to hide internal directories.