Documentation ¶
Index ¶
- func Delete(c *Cache)
- func GC()
- type Cache
- func (c *Cache) Delete(key interface{})
- func (c *Cache) Each(f func(k, v interface{}))
- func (c *Cache) Exist(key interface{}) bool
- func (c *Cache) Get(key interface{}, f ...func(key, old interface{}) (v interface{}, t int64)) (v interface{})
- func (c *Cache) SetExpire(key interface{}, expire int64) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.