Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func Disconnect()
Types ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
func CreateLock ¶
创建一个分布式锁 timeout 锁的超时时间 name 锁名
func NewHostGpuLock ¶
GpuLock
func NewHostNicLock ¶
NicLock
Click to show internal directories.
Click to hide internal directories.