//
pkg.gl
Category
github.com/yubo/golib
util
keymutex
package
0.0.2
Repository:
https://github.com/yubo/golib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
36 SLOC
#
Functions
NewHashed
NewHashed returns a new instance of KeyMutex which hashes arbitrary keys to a fixed set of locks.
#
Interfaces
KeyMutex
KeyMutex is a thread-safe interface for acquiring locks on arbitrary strings.