Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchAll ¶ added in v0.11.8
type FetchAll[K comparable, O any] func(ctx context.Context) (map[K]O, error)
type FetchAllCache ¶ added in v0.11.8
type FetchAllCache[K comparable, O any] struct { // contains filtered or unexported fields }
func NewFetchAll ¶ added in v0.11.8
func NewFetchAll[K comparable, O any](expiration time.Duration, fetchAll FetchAll[K, O]) *FetchAllCache[K, O]
Click to show internal directories.
Click to hide internal directories.