Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashFunc ¶
type HashFunc func(interface{}) uint32
HashFunc represents a hash function for string
type IDMutex ¶
type IDMutex interface { LockID(identifier interface{}) UnlockID(identifier interface{}) }
IDMutex is an interface which can lock on specific comparable identifier
func NewIDMutex ¶
NewIDMutex create a new IDLock
Click to show internal directories.
Click to hide internal directories.