Documentation ¶
Overview ¶
Package etcdclient implements etcd client utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd interface { Put(timeout time.Duration, k, v string, leaseTTL time.Duration) error Get(timeout time.Duration, k string) ([]*mvccpb.KeyValue, error) Campaign(pfx string, timeout time.Duration) (ok bool, err error) List(pfx string, listBatchLimit int64, listBatchInterval time.Duration) (rs []*mvccpb.KeyValue, err error) Close() }
Etcd defines etcd client operations.
Click to show internal directories.
Click to hide internal directories.