Versions in this module Expand all Collapse all v2 v2.17.2 Sep 3, 2021 Changes in this version + type FileCache struct + func New(fs afero.Fs, root string) *FileCache + func (f *FileCache) Delete(ctx context.Context, key string) error + func (f *FileCache) Load(ctx context.Context, key string) (value []byte, exist bool, err error) + func (f *FileCache) Store(ctx context.Context, key string, value []byte) error + type Interface interface + Delete func(ctx context.Context, key string) error + Load func(ctx context.Context, key string) (value []byte, exist bool, err error) + Store func(ctx context.Context, key string, value []byte) error + type NoOp struct + func NewNoOp() *NoOp + func (n *NoOp) Delete(ctx context.Context, key string) error + func (n *NoOp) Load(ctx context.Context, key string) (value []byte, exist bool, err error) + func (n *NoOp) Store(ctx context.Context, key string, value []byte) error