Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 是etcd客户端(v3)的包装器
func NewEtcdClient ¶
func NewEtcdClient(machines []string, cert, key, caCert string, basicAuth bool, username string, password string) (*Client, error)
NewEtcdClient 返回一个*etcd.Client(v3)并与命名机器建立连接.
Click to show internal directories.
Click to hide internal directories.