package
1.4.3
Repository: https://github.com/gotid/god.git
Documentation: pkg.go.dev

# Functions

AddAccount 为给定的 etcd 集群添加用户名/密码。.
AddTLS 为给定的 etcd 集群添加 TLS 证书文件。.
GetAccount 获取给定 etcd 集群的用户名/密码。.
GetRegistry 返回一个全局注册表。.
GetTLS 获取给定 etcd 集群的 TLS 配置。.
NewClient 创建给定端点的 etcd 集群。.
NewMockEtcdClient creates a new mock instance.

# Constants

Delimiter 是一个分割 etcd 路径的分隔符。.

# Variables

DialTimeout 是拨号超时时长。.
RequestTimeout 是请求超时时长,默认为3秒。.

# Structs

Account 保存一个 etcd 集群的用户名/密码。.
No description provided by the author
MockEtcdClient is a mock of EtcdClient interface.
MockEtcdClientMockRecorder is the mock recorder for MockEtcdClient.
Registry 是一个管理 etcd 客户端连接的注册表。.

# Interfaces

EtcdClient 接口表示一个 etcd 客户端。.
No description provided by the author