Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Put(ctx context.Context, namespace string, key, value []byte) error Get(ctx context.Context, namespace string, key []byte) ([]byte, error) Delete(ctx context.Context, namespace string, key []byte) error BatchGet(ctx context.Context, namespace string, keys [][]byte) ([][]byte, error) BatchPut(ctx context.Context, namespace string, keys, values [][]byte) error BatchDelete(ctx context.Context, namespace string, keys [][]byte) error Scan(ctx context.Context, namespace string, prefix []byte, limit int) ([][]byte, [][]byte, error) Close() error }
Click to show internal directories.
Click to hide internal directories.