MCPcopy
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
57func (counter *counter) count() int {
58 counter.mutex.Lock()
59 defer counter.mutex.Unlock()
60
61 return counter.connections
62}
63
64func (counter *counter) wait() {
65 counter.wg.Wait()

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected