package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Feb 4, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package locks provides Named Locks functionality for manging
mutexes by string name (e.g., cache keys).
type NamedLock interface {
Release() error
RRelease() error
Upgrade() bool
}
NamedLock defines the interface for implementing Named Locks
NamedLocker provides a locker for handling Named Locks
NewNamedLocker returns a new Named Locker
Source Files
¶
Click to show internal directories.
Click to hide internal directories.