Versions in this module Expand all Collapse all v2 v2.3.0 Dec 30, 2022 v2.2.0 Dec 5, 2022 Changes in this version + type Cache interface + Get func(data Expired) error + Set func(data Expired) error + type Expired interface + CreatedAt func() int64 + ExpiresIn func() int16 + type FileCache struct + func NewFileCache(path, file string) *FileCache + func (cache *FileCache) Get(data Expired) error + func (cache *FileCache) Set(data Expired) (err error)