state

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBulkState

func GetBulkState[T interface{}](ctx context.Context, keys []string) ([]T, error)

func GetBulkStateDefault

func GetBulkStateDefault[T interface{}](ctx context.Context, keys []string, defVal T) []T

func GetState

func GetState[T interface{}](ctx context.Context, key string) (T, error)

func SetBulkState

func SetBulkState(ctx context.Context, kvs map[string]interface{})

func SetState

func SetState(ctx context.Context, key string, value interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL