Documentation ¶
Index ¶
- type Etcd
- func (e *Etcd) Delete(key string) error
- func (e *Etcd) DeleteTree(prefix string) error
- func (e *Etcd) Exists(key string) (bool, error)
- func (e *Etcd) Get(key string) ([]byte, error)
- func (e *Etcd) List(prefix string) (map[string][]byte, error)
- func (e *Etcd) NewLocker(key string) kv.Locker
- func (e *Etcd) NewWatcher(prefix string) kv.Watcher
- func (e *Etcd) Put(key string, value []byte) error
- type Locker
- type Options
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
Etcd is a client for https://etcd.io/.
func (*Etcd) DeleteTree ¶
DeleteTree implements the kv.KV interface.
func (*Etcd) NewWatcher ¶
NewWatcher implements the kv.KV interface.
Click to show internal directories.
Click to hide internal directories.