Documentation ¶
Index ¶
- Constants
- Variables
- type KvStore
- func (kv *KvStore) Close() error
- func (kv *KvStore) Get(ctx context.Context, key string, version int64) (*vkv.KeyValue, error)
- func (kv *KvStore) GetMetaBlob(ctx context.Context, key string, version int64) (string, error)
- func (kv *KvStore) Keys(ctx context.Context, start, end string, limit int) ([]*vkv.KeyValue, string, error)
- func (kv *KvStore) Put(ctx context.Context, key, ref string, data []byte, version int64) (*vkv.KeyValue, error)
- func (kv *KvStore) ReverseKeys(ctx context.Context, start, end string, limit int) ([]*vkv.KeyValue, string, error)
- func (kv *KvStore) Versions(ctx context.Context, key, start string, limit int) (*vkv.KeyValueVersions, string, error)
Constants ¶
View Source
const KvType = "kv"
Variables ¶
View Source
var ErrInvalidKey = errors.New("/ is a forbidden character for keys")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.