Documentation
¶
Index ¶
Constants ¶
View Source
const DelayExpireDuration = time.Minute * 15
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockManager ¶
type LockManager struct {
// contains filtered or unexported fields
}
func NewLocalLockManager ¶
func NewLocalLockManager(size int) *LockManager
func (*LockManager) Cleanup ¶
func (llm *LockManager) Cleanup()
func (*LockManager) Len ¶
func (llm *LockManager) Len() int
func (*LockManager) UnLock ¶
func (llm *LockManager) UnLock(key string)
Click to show internal directories.
Click to hide internal directories.