Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Delete(key string)
- func (c *Cache) DeletePrefix(prefix string)
- func (c *Cache) Evict(count int) int
- func (c *Cache) Get(key string) interface{}
- func (c *Cache) GetOrSet(key string, value func() (interface{}, error)) (interface{}, error)
- func (c *Cache) Len() int
- func (c *Cache) Set(key string, value interface{})
- func (c *Cache) WriteBack() (persisted, evicted int)
- type Eviction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.