MCPcopy 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

14var SharedManager = NewManager()
15
16func init() {
17 if !teaconst.IsMain {
18 return
19 }
20
21 events.OnClose(func() {
22 SharedManager.Quit()
23 })
24}
25
26type Manager struct {
27 isQuiting bool

Callers

nothing calls this directly

Calls 2

OnCloseFunction · 0.92
QuitMethod · 0.45

Tested by

no test coverage detected