Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/KubePi
/ count
Method
count
thirdparty/gotty/server/handler_atomic.go:57–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
}
56
57
func
(counter *counter) count() int {
58
counter.mutex.Lock()
59
defer
counter.mutex.Unlock()
60
61
return
counter.connections
62
}
63
64
func
(counter *counter) wait() {
65
counter.wg.Wait()
Callers
1
Run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected