Versions in this module Expand all Collapse all v1 v1.5.0 Dec 15, 2025 v1.4.2 Dec 9, 2025 Changes in this version + type Store struct + func New[K comparable, V any]() *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 Other modules containing this package github.com/codeGROOVE-dev/sfcache