Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 0.1% on proxy.golang.org
Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 0.1% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org

proxy.golang.org : 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".

Registry - Source - Documentation - JSON
purl: pkg:golang/go.etcd.io/etcd/client/v3
Keywords: cncf, consensus, database, distributed-database, distributed-systems, etcd, go, key-value, kubernetes, raft
License: Apache-2.0
Latest release: about 1 month ago
First release: about 3 years ago
Namespace: go.etcd.io/etcd/client
Dependent packages: 5,154
Dependent repositories: 20,636
Stars: 43,141 on GitHub
Forks: 9,181 on GitHub
Docker dependents: 2,574
Docker downloads: 21,780,976,024
See more repository details: repos.ecosyste.ms
Last synced: about 19 hours ago

    Loading...
    Readme
    Loading...