Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xUnixIO/pulse
/ newMetrics
Function
newMetrics
internal/nodehub/metrics.go:28–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
newMetrics() *metrics {
29
return
&metrics{perNodeLastSeen: make(
map
[string]time.Time)}
30
}
31
32
func
(m *metrics) markSeen(nodeID string) {
33
now := time.Now()
Callers
1
New
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected