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

Function NewManager

internal/metrics/manager.go:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func NewManager() *Manager {
39 return &Manager{
40 taskMap: map[int64]Task{},
41 categoryTaskMap: map[string][]Task{},
42 }
43}
44
45func (this *Manager) Update(items []*serverconfigs.MetricItemConfig) {
46 if this.isQuiting {

Callers 2

TestNewManagerFunction · 0.92
manager.goFile · 0.70

Calls

no outgoing calls

Tested by 1

TestNewManagerFunction · 0.74