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

Method Register

server/command/manager.go:27–32  ·  view source on GitHub ↗
(cmds ...Command)

Source from the content-addressed store, hash-verified

25}
26
27func (mgr *Manager) Register(cmds ...Command) {
28 mgr.mu.Lock()
29 defer mgr.mu.Unlock()
30 mgr.commands = append(mgr.commands, cmds...)
31 mgr.graph = nil
32}
33
34func (mgr *Manager) Call(command string, caller Caller) {
35 arguments := strings.Split(command, " ")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected