Versions in this module Expand all Collapse all v1 v1.0.2 Oct 30, 2025 v1.0.1 May 26, 2022 Changes in this version + func New(store map[string]interface{}) (cache.Cache, error) + func NewFromPath(dir string) (cache.Cache, error) + type Cache struct + 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)