MCPcopy
hub / github.com/tinode/chat / statsRegisterInt

Function statsRegisterInt

server/stats.go:85–87  ·  view source on GitHub ↗

Register integer variable. Don't check for initialization.

(name string)

Source from the content-addressed store, hash-verified

83
84// Register integer variable. Don't check for initialization.
85func statsRegisterInt(name string) {
86 expvar.Publish(name, new(expvar.Int))
87}
88
89// Register histogram variable. `bounds` specifies histogram buckets/bins
90// (see comment next to the `histogram` struct definition).

Callers 4

NewSessionStoreFunction · 0.85
newHubFunction · 0.85
clusterInitFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…