MCPcopy Create free account
hub / github.com/DNAProject/DNA / ReStartServer

Function ReStartServer

http/websocket/server.go:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 ws.Stop()
62}
63func ReStartServer() {
64 if ws == nil {
65 ws = websocket.InitWsServer()
66 ws.Start()
67 return
68 }
69 ws.Restart()
70}
71
72func pushSmartCodeEvent(v interface{}) {
73 if ws == nil {

Callers

nothing calls this directly

Calls 3

InitWsServerFunction · 0.92
StartMethod · 0.65
RestartMethod · 0.45

Tested by

no test coverage detected