Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNilObject = errors.New("cannot serialze nil object") ErrEmptyData = errors.New("cannot deserialize empty data") )
Functions ¶
func NewJSON ¶
func NewJSON[T any]() store.Serializer[T]
func NewMsgpack ¶
func NewMsgpack[T any]() store.Serializer[T]
Types ¶
type KeyValueStore ¶
type KeyValueStore[T any] interface { BaseKeyValueStore[T] Lister[T] Resetter ErrorMapSetter }
func NewKeyValue ¶
func NewKeyValue[T any](serializer Serializer[T], storage Map) KeyValueStore[T]
Click to show internal directories.
Click to hide internal directories.