Package Usage: go: go.etcd.io/etcd/client/v3
Package clientv3 implements the official Go etcd client for v3.
Create client using `clientv3.New`:
Make sure to close the client after using it. If the client is not closed, the
connection will have leaky goroutines.
To specify a client request timeout, wrap the context with context.WithTimeout:
The Client has internal state (watchers and leases), so Clients should be reused instead of created as needed.
Clients are safe for concurrent use by multiple goroutines.
etcd client returns 2 types of errors:
See https://github.com/etcd-io/etcd/blob/main/api/v3rpc/rpctypes/error.go
Here is the example code to handle client errors:
The grpc load balancer is registered statically and is shared across etcd clients.
To enable detailed load balancer logging, set the ETCD_CLIENT_DEBUG environment
variable. E.g. "ETCD_CLIENT_DEBUG=1".
24 versions
Latest release: about 1 year ago
5,154 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/go.etcd.io/etcd/client/v3
Dependent Repos 5
swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi
Last synced: 8 months ago - Pushed: 12 months ago
cea-hpc/sshproxy
Proxy SSH connections on a gatewaySize: 10 MB - Last synced: 2 days ago - Pushed: 6 days ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: 8 months ago


