Versions in this module Expand all Collapse all v0 v0.1.1 Aug 17, 2026 v0.1.0 Aug 15, 2026 Changes in this version + type Cache struct + func New[K comparable, V any]() *Cache[K, V] + func (Cache[K, V]) Clear(context.Context) error + func (Cache[K, V]) Close() error + func (Cache[K, V]) Delete(context.Context, K) error + func (Cache[K, V]) Exists(context.Context, K) (bool, error) + func (Cache[K, V]) Get(context.Context, K) (V, error) + func (Cache[K, V]) Set(context.Context, K, V, time.Duration) error