Versions in this module Expand all Collapse all v1 v1.10.0 Jan 2, 2026 v1.9.0 Jan 2, 2026 Changes in this version + type Store interface + Cleanup func(ctx context.Context, maxAge time.Duration) (int, error) + Close func() error + Delete func(ctx context.Context, key K) error + Flush func(ctx context.Context) (int, error) + Get func(ctx context.Context, key K) (V, time.Time, bool, error) + Len func(ctx context.Context) (int, error) + Set func(ctx context.Context, key K, value V, expiry time.Time) error + ValidateKey func(key K) error + func New[K comparable, V any](ctx context.Context, cacheID string, c ...compress.Compressor) (Store[K, V], error)