Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeAI-Artist/Linkis
/ newMetricsLabelCache
Function
newMetricsLabelCache
p2p/metrics.go:140–145 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
138
}
139
140
func
newMetricsLabelCache() *metricsLabelCache {
141
return
&metricsLabelCache{
142
mtx: &sync.RWMutex{},
143
messageLabelNames:
map
[reflect.Type]string{},
144
}
145
}
Callers
2
createOutboundPeerAndPerformHandshake
Function · 0.85
NewSwitch
Function · 0.85
Calls
no outgoing calls
Tested by
1
createOutboundPeerAndPerformHandshake
Function · 0.68