Versions in this module Expand all Collapse all v1 v1.6.10 Oct 29, 2021 v1.6.9 Oct 9, 2021 Changes in this version + var DefaultCacheDir = ":PREFERRED_CACHE_HOME:/cointop" + type Config struct + CacheDir string + Prefix string + type FileCache struct + func NewFileCache(config *Config) (*FileCache, error) + func (f *FileCache) Get(key string, dst interface{}) error + func (f *FileCache) Set(key string, data interface{}, expire time.Duration) error