Documentation
¶
Overview ¶
Package locks provides Named Locks functionality for manging mutexes by string name (e.g., cache keys).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedLock ¶
type NamedLock interface {
Release() error
RRelease() error
Upgrade() (NamedLock, error)
WriteLockCounter() int
WriteLockMode() bool
}
NamedLock defines the interface for implementing Named Locks
Click to show internal directories.
Click to hide internal directories.