Documentation
¶
Index ¶
- type Loader
- func NewStoreLoader[V any](ctx context.Context, fetchMany func(context.Context, []string) ([]V, error)) *Loader[string, V]
- func NewStoreLoaderInt[V any](ctx context.Context, fetchMany func(context.Context, []int) ([]V, error)) *Loader[int, V]
- func NewStoreLoaderWithDB[V any](ctx context.Context, db gadb.DBTX, ...) *Loader[string, V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶ added in v0.30.0
type Loader[K comparable, V any] struct { // contains filtered or unexported fields }
func NewStoreLoader ¶ added in v0.30.0
func NewStoreLoaderInt ¶ added in v0.30.0
func NewStoreLoaderWithDB ¶ added in v0.32.0
Click to show internal directories.
Click to hide internal directories.