MCPcopy Create free account
hub / github.com/One-com/gone / Run

Function Run

daemon/run.go:158–380  ·  view source on GitHub ↗

Run takes a set of RunOptions. The only mandatory option is InstantiateServers. The servers will be managed and via Serve() and can be controlled with various functions, like Reload() and Exit() On Reload() Run() will try to instantiate a new set of servers and if successful will replace the current

(opts ...RunOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

ListenMethod · 0.95
ServeMethod · 0.95
ShutdownMethod · 0.95
recordShutdownFunction · 0.85
AddMethod · 0.80
DoMethod · 0.80
LogFunction · 0.70
serveFunction · 0.70
WaitMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected