Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashLock ¶
type HashLock struct {
// contains filtered or unexported fields
}
HashLock keeps a hashmap with unique keys and lock conditions Also has a rw mutex for the hashmap to avoid race conditions between threads If timeout is set the lock is unlocked after the given time
func (*HashLock) GetLockKey ¶
GetLockKey provides a pattern for creating keys from string arrays
Click to show internal directories.
Click to hide internal directories.