Documentation ¶
Overview ¶
Package kv supplies kv store
Index ¶
- Variables
- func Delete(ctx context.Context, key string) (bool, error)
- func Exist(ctx context.Context, key string) (bool, error)
- func Get(ctx context.Context, key string) (*mvccpb.KeyValue, error)
- func List(ctx context.Context, key string) ([]*mvccpb.KeyValue, int64, error)
- func Put(ctx context.Context, key string, value string) error
- func PutBytes(ctx context.Context, key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotUnique = errors.New("kv result is not unique")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.