Documentation ¶
Overview ¶
Package etcd based on etcd V3.
Index ¶
Constants ¶
View Source
const CONNECT_TIMEOUT_FOR_RETRY = time.Millisecond * 5000
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(willTimedout bool) (*etcdClient.Client, err)
GetClient get a etced client. willTimedout if false, the function will block the routine until a client is successfully created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.