Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMutex ¶
type KeyMutex struct {
// contains filtered or unexported fields
}
func New ¶
New returns a new instance of KeyMutex which hashes arbitrary keys to a fixed set of locks, specified by n. Use the default value if n <= 0.
func (*KeyMutex) UnlockBytes ¶
Click to show internal directories.
Click to hide internal directories.