Versions in this module Expand all Collapse all v0 v0.22.1 Jun 10, 2022 v0.22.0 Jun 9, 2022 Changes in this version + var ErrorNotFound = errors.New("no value was found with the provided key") + func Key(keyParts ...string) string + type Cache struct + func New(storage Storage, namespace string) Cache[T] + func (c Cache[T]) Delete(key string) error + func (c Cache[T]) Get(key string) (val T, err error) + func (c Cache[T]) Put(key string, value T) error + type Storage struct + func NewStorage(path string) (Storage, error) + func (s Storage) Clear() error