Versions in this module Expand all Collapse all v1 v1.0.0 Oct 21, 2022 Changes in this version + func New(opts cache.Options) (cache.Cache, error) + type Cache struct + func (c *Cache) Contain(ctx context.Context, key string) bool + func (c *Cache) Delete(ctx context.Context, key string) error + func (c *Cache) Fetch(ctx context.Context, key string, value interface{}) error + func (c *Cache) Keys(ctx context.Context, prefixes ...string) ([]string, error) + func (c *Cache) Ping(ctx context.Context) error + func (c *Cache) Save(ctx context.Context, key string, value interface{}, ...) error