Versions in this module Expand all Collapse all v0 v0.0.1 Oct 15, 2019 Changes in this version + var DefaultPath = "cache" + var NotFoundError = errors.New("data not found") + type FileCache struct + func (f *FileCache) Clear() error + func (f *FileCache) Delete(key string) error + func (f *FileCache) DeleteMultiple(keys ...string) error + func (f *FileCache) GetMultiple(keys ...string) (map[string][]byte, error) + func (f *FileCache) Has(key string) (bool, error) + func (f *FileCache) Set(key string, val []byte) error + func (f *FileCache) SetMultiple(values map[string][]byte) error + func (f *FileCache) SetWithTTL(key string, val []byte, ttl int64) error + func (f FileCache) Get(key string) ([]byte, error) + func (f FileCache) GetD(key string, v []byte) []byte