()
| 61 | ws.Stop() |
| 62 | } |
| 63 | func ReStartServer() { |
| 64 | if ws == nil { |
| 65 | ws = websocket.InitWsServer() |
| 66 | ws.Start() |
| 67 | return |
| 68 | } |
| 69 | ws.Restart() |
| 70 | } |
| 71 | |
| 72 | func pushSmartCodeEvent(v interface{}) { |
| 73 | if ws == nil { |
nothing calls this directly
no test coverage detected