Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ init
Function
init
internal/metrics/manager.go:16–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
var
SharedManager = NewManager()
15
16
func
init() {
17
if
!teaconst.IsMain {
18
return
19
}
20
21
events.OnClose(
func
() {
22
SharedManager.Quit()
23
})
24
}
25
26
type
Manager
struct
{
27
isQuiting bool
Callers
nothing calls this directly
Calls
2
OnClose
Function · 0.92
Quit
Method · 0.45
Tested by
no test coverage detected