Documentation ¶
Index ¶
- Variables
- type KvStore
- func (kvs *KvStore) Get(ctx context.Context, key string, version int) (*response.KeyValue, error)
- func (kvs *KvStore) Keys(ctx context.Context, prefix, start, end string, limit int) ([]*response.KeyValue, error)
- func (kvs *KvStore) Put(ctx context.Context, key, ref string, pdata []byte, version int) (*response.KeyValue, error)
- func (kvs *KvStore) Versions(ctx context.Context, key string, start, end, limit int) (*response.KeyValueVersions, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("key doest not exist")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.