Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[T any](config configs.Configuration, prefix string, fetcher definition.Fetcher[T]) (definition.Cacher[T], error)
New returns a new Cacher.
Types ¶
type ValueWithTtl ¶
type ValueWithTtl struct { Value json.RawMessage Ttl *time.Time }
ValueWithTtl ...
Click to show internal directories.
Click to hide internal directories.