Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLockerClosed 锁已被关闭 ErrLockerClosed = errors.New("locker has closed") // ErrLocked 锁已被其他人持有 ErrLocked = errors.New("locked by another session") // ErrSessionExpired 锁会话过期 ErrSessionExpired = errors.New("session is expired") // ErrLockFailed 锁失败 ErrLockFailed = errors.New("lock failed") // ErrLockRemoteNoneNeedTodo 远程锁未被占有,需要开启抢占 ErrLockRemoteNoneNeedTodo = errors.New("remote lock is none, need to start grab") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.