Versions in this module Expand all Collapse all v1 v1.0.0 Aug 25, 2026 Changes in this version + type Backend struct + func New(config Config) (*Backend, error) + func (b *Backend) Close() error + func (b *Backend) Delete(ctx context.Context, key string) (bool, error) + func (b *Backend) Get(ctx context.Context, key string) (cache.Record, bool, error) + func (b *Backend) Set(ctx context.Context, key string, record cache.Record, ...) (bool, error) + func (b *Backend) Stats() Stats + type Config struct + Clock cache.Clock + MaxBytes int + MaxEntries int + Observer cache.Observer + type Stats struct + Bytes int + Entries int + Evictions uint64 + Expirations uint64