Versions in this module Expand all Collapse all v1 v1.0.0 Feb 27, 2023 Changes in this version + var ErrCanceled = errors.New("operation was canceled") + var InMemoryStoreClass = reflect.TypeOf((*implInMemoryStore)(nil)) + func FromCache(name string, c *cache.Cache) *implInMemoryStore + func New(name string, options ...Option) *implInMemoryStore + func NewDefault(name string) *implInMemoryStore + func ObjectType() reflect.Type + func OpenDatabase(options ...Option) *cache.Cache + type Config struct + CleanupInterval time.Duration + DefaultExpiration time.Duration + type Option interface + func WithCleanupInterval(value time.Duration) Option + func WithDefaultExpiration(value time.Duration) Option + func WithNope() Option