Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/koding/kite
/ IdLock
Struct
IdLock
kontrol/idlock.go:5–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
import
"sync"
4
5
type
IdLock
struct
{
6
locks
map
[string]sync.Locker
7
locksMu sync.Mutex
8
}
9
10
// New returns a new IdLock
11
func
NewIdlock() *IdLock {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected