Documentation ¶
Index ¶
- func New(store map[string]interface{}) (cache.Cache, error)
- type Cache
- func (p *Cache) ClearAll() (err error)
- func (p *Cache) Close() error
- func (p *Cache) Delete(key string)
- func (p *Cache) Get(key string) (value []byte, ok bool)
- func (p *Cache) GetRange(key string, low, high int64) (value []byte, ok bool)
- func (p *Cache) Set(key string, value []byte)
- func (p *Cache) SetTimeout(key string, value []byte, timeout time.Duration) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.