Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
KV clientv3.KV
Watcher clientv3.Watcher
Lease clientv3.Lease
Client *clientv3.Client
Session *concurrencyv3.Session
LeaseID clientv3.LeaseID
}
Client is a wrapper around etcd client v3. It provides interfaces rooted by a namespace in etcd.
func ProvideClient ¶
ProvideClient creates a new Etcd Client and provides it via Fx.
Click to show internal directories.
Click to hide internal directories.