Versions in this module Expand all Collapse all v0 v0.9.0 Jan 31, 2021 Changes in this version + const DefaultTTL + type FetchFunc func(context.Context, string) (interface{}, error) + type Loader struct + func NewLoader(f FetchFunc, ttl time.Duration) *Loader + func (l *Loader) Load(ctx context.Context, key string) (interface{}, error)