Documentation ¶
Index ¶
- type Cache
- func (p *Cache) Clean() error
- func (p *Cache) Delete(key []byte) error
- func (p *Cache) Empty() error
- func (p *Cache) Get(key []byte) ([]byte, bool)
- func (p *Cache) GetRange(key []byte, low, high int64) (b []byte, ok bool)
- func (p *Cache) Set(key, value []byte) error
- func (p *Cache) SetTimeout(key []byte, value []byte, timeout time.Duration) error
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.