Documentation ¶
Index ¶
- type Cache
- type LRU
- func (l *LRU) Disable()
- func (l *LRU) Enable()
- func (l *LRU) Expire(key interface{}) bool
- func (l LRU) Get(key interface{}) (interface{}, error)
- func (l *LRU) Remove(key interface{}) bool
- func (l *LRU) Set(key, value interface{}) error
- func (l *LRU) SetWithExpire(key, value interface{}, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Click to show internal directories.
Click to hide internal directories.