MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / NewManager

Function NewManager

server/command/manager.go:23–25  ·  view source on GitHub ↗
(srv any, cmds ...Command)

Source from the content-addressed store, hash-verified

21}
22
23func NewManager(srv any, cmds ...Command) *Manager {
24 return &Manager{commands: cmds, srv: srv}
25}
26
27func (mgr *Manager) Register(cmds ...Command) {
28 mgr.mu.Lock()

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected