Documentation
¶
Overview ¶
Package store is the long-term key-value store for application data that outlives executions, shared by clients and worker jobs. Values live in the <ns>-store bucket under <namespace>.<key>; namespaces and keys are tokens.
Index ¶
- func Delete(ctx context.Context, in *infra.Infra, ns, key string) error
- func Get(ctx context.Context, in *infra.Infra, ns, key string) (json.RawMessage, error)
- func Keys(ctx context.Context, in *infra.Infra, ns string) ([]string, error)
- func Put(ctx context.Context, in *infra.Infra, ns, key string, value any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶ added in v1.0.0
Get returns the value under ns/key, apierr.ErrNotFound when there is none.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.