Documentation ¶
Overview ¶
Package kmutex provides synchronization primitives to lock/unlock resource by unique key.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyedLocker ¶
KeyedLocker is the interface for acquiring locks based on string.
func New ¶
func New() KeyedLocker
func NewNoop ¶
func NewNoop() KeyedLocker
Click to show internal directories.
Click to hide internal directories.