package
1.11.0
Repository: https://github.com/wuntsong-org/go-zero-plus.git
Documentation: pkg.go.dev

# Functions

AddAccount adds the username/password for the given etcd cluster.
AddTLS adds the tls cert files for the given etcd cluster.
DialClient dials an etcd cluster with given endpoints.
GetAccount gets the username/password for the given etcd cluster.
GetRegistry returns a global Registry.
GetTLS gets the tls config for the given etcd cluster.
NewMockEtcdClient creates a new mock instance.
NewMocketcdConn creates a new mock instance.
NewMockUpdateListener creates a new mock instance.

# Constants

Delimiter is a separator that separates the etcd path.

# Variables

DialTimeout is the dial timeout.
NewClient is used to create etcd clients.
RequestTimeout is the request timeout.

# Structs

Account holds the username/password for an etcd cluster.
No description provided by the author
MockEtcdClient is a mock of EtcdClient interface.
MockEtcdClientMockRecorder is the mock recorder for MockEtcdClient.
MocketcdConn is a mock of etcdConn interface.
MocketcdConnMockRecorder is the mock recorder for MocketcdConn.
MockUpdateListener is a mock of UpdateListener interface.
MockUpdateListenerMockRecorder is the mock recorder for MockUpdateListener.
A Registry is a registry that manages the etcd client connections.

# Interfaces

EtcdClient interface represents an etcd client.
Listener interface wraps the OnUpdate method.
No description provided by the author