Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + type CallBack func(key interface{}, value interface{}) + type Lru struct + Call CallBack + func NewLru(len int, c CallBack) *Lru + func (l *Lru) Add(key interface{}, val interface{}) error + func (l *Lru) Del(key interface{}) + func (l *Lru) Get(key interface{}) (val interface{}, ok bool) + func (l *Lru) GetAll() []*Node + type Node struct + Key interface{} + Val interface{}