MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / NewManager

Function NewManager

module/monitor/driver/manager.go:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19)
20
21func NewManager() *Manager {
22 return &Manager{
23 drivers: eosc.BuildUntyped[string, IDriver](),
24 }
25}
26
27func (m *Manager) Register(driver IDriver) {
28 m.drivers.Set(driver.Name(), driver)

Callers 1

manager.goFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected