Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyValueStore ¶
type KeyValueStore[K any, V any] interface { Get(ctx context.Context, key K) (V, error) Set(ctx context.Context, key K, value V) error Delete(ctx context.Context, key K) error }
func NewEtcdStore ¶
func NewEtcdStore[V any](kv clientv3.KV, marshaller Marshaller, unmarshaller Unmarshaller) KeyValueStore[string, V]
func NewMemoryStore ¶
func NewMemoryStore[K comparable, V any]() KeyValueStore[K, V]
type Marshaller ¶
type Unmarshaller ¶
Click to show internal directories.
Click to hide internal directories.