Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { GetAll(ctx context.Context, prefix string) ([][]byte, error) Get(ctx context.Context, prefix string, key string) ([]byte, error) Put(ctx context.Context, prefix string, key string, value []byte) error Delete(ctx context.Context, prefix string, key string) error }
Interface is an abstraction over key value storage, gets and returns values serialized as byte slices It is up to the services to do data conversion from
func GetStorage ¶
Click to show internal directories.
Click to hide internal directories.