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 struct + func New[K comparable, V any](_ ...compress.Compressor) *Store[K, V] + func (*Store[K, V]) Cleanup(_ context.Context, _ time.Duration) (int, error) + func (*Store[K, V]) Close() error + func (*Store[K, V]) Delete(_ context.Context, _ K) error + func (*Store[K, V]) Flush(_ context.Context) (int, error) + func (*Store[K, V]) Get(_ context.Context, _ K) (value V, expiry time.Time, found bool, err error) + func (*Store[K, V]) Len(_ context.Context) (int, error) + func (*Store[K, V]) Location(_ K) string + func (*Store[K, V]) Set(_ context.Context, _ K, _ V, _ time.Time) error + func (*Store[K, V]) ValidateKey(_ K) error