MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / init

Function init

internal/utils/agents/manager.go:20–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18var SharedManager = NewManager()
19
20func init() {
21 if !teaconst.IsMain {
22 return
23 }
24
25 events.On(events.EventLoaded, func() {
26 goman.New(func() {
27 SharedManager.Start()
28 })
29 })
30}
31
32// Manager Agent管理器
33type Manager struct {

Callers

nothing calls this directly

Calls 3

OnFunction · 0.92
NewFunction · 0.92
StartMethod · 0.65

Tested by

no test coverage detected