Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ ptr
Method
ptr
stats.go:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
type
gauge int64
50
51
func
(g *gauge) ptr() *int64 {
52
return
(*int64)(g)
53
}
54
55
func
(g *gauge) observe(v int64) {
56
atomic.StoreInt64(g.ptr(), v)
Callers
2
observe
Method · 0.95
snapshot
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected