Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateETCDClient ¶
CreateETCDClient 创建etcd客户端
Types ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
A Mutex is a mutual exclusion lock which is distributed across a cluster.
func (*Mutex) Lock ¶
Lock locks m. If the lock is already in use, the calling goroutine blocks until the mutex is available.
Click to show internal directories.
Click to hide internal directories.