Documentation ¶
Index ¶
- type LRUCache
- func (l *LRUCache) Delete(key interface{})
- func (l *LRUCache) Dump() string
- func (l *LRUCache) Keys() []interface{}
- func (l *LRUCache) Len() int
- func (l *LRUCache) Load(key interface{}) (data interface{}, ok bool)
- func (l *LRUCache) SetDelCallBackFn(f func(key, value interface{}))
- func (l *LRUCache) Store(key, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func (*LRUCache) SetDelCallBackFn ¶
func (l *LRUCache) SetDelCallBackFn(f func(key, value interface{}))
Click to show internal directories.
Click to hide internal directories.