Documentation ¶
Index ¶
- func EtcdAllocUniqID(c *clientv3.Client, idKey string, count uint64) (uint64, uint64, error)
- func EtcdGetKV(c *clientv3.Client, key string, opts ...clientv3.OpOption) ([]byte, int64, error)
- func EtcdRange(c *clientv3.Client, prefix string) ([]*mvccpb.KeyValue, int64, error)
- func EtcdSetKV(c *clientv3.Client, key string, val []byte, opts ...clientv3.OpOption) error
- func EtcdSetKVS(c *clientv3.Client, cmps []clientv3.Cmp, ops []clientv3.Op) error
- func EtcdWatchEvents(c *clientv3.Client, start, end string, startRev int64) (clientv3.WatchChan, func())
- func ServeETCD(cfg *embed.Config) (*embed.Etcd, *clientv3.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EtcdAllocUniqID ¶
func EtcdWatchEvents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.