Documentation ¶
Index ¶
- type KV
- func (k *KV) Del(ctx context.Context, key string) error
- func (k *KV) Get(ctx context.Context, key string) ([]byte, error)
- func (k *KV) GetPrefix(ctx context.Context, prefix string) (map[string][]byte, error)
- func (k *KV) Put(ctx context.Context, key string, value string) error
- func (k *KV) Start(ctx context.Context) error
- func (k *KV) Stop(ctx context.Context) error
- func (k *KV) Watch(ctx context.Context, prefix string, withPrevVal bool) <-chan kv.WatchResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KV ¶
type KV struct {
// contains filtered or unexported fields
}
KV represents an etcd key-value store implementation.
Click to show internal directories.
Click to hide internal directories.