Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyedMutex ¶
type KeyedMutex struct {
// contains filtered or unexported fields
}
func New ¶
func New() KeyedMutex
func (KeyedMutex) Lock ¶
func (m KeyedMutex) Lock(key string)
func (KeyedMutex) TryLock ¶
func (m KeyedMutex) TryLock(key string) bool
func (KeyedMutex) Unlock ¶
func (m KeyedMutex) Unlock(key string)
Click to show internal directories.
Click to hide internal directories.