| 24 | ) |
| 25 | |
| 26 | type HttpServer struct { |
| 27 | HttpServerAddr string |
| 28 | WsHub *WsHub |
| 29 | } |
| 30 | |
| 31 | func NewHttpServer(httpServerAddr string, wsCommandFnRegistry map[string]WsCommandFn) (*HttpServer, error) { |
| 32 | wsHub := newWsHub(wsCommandFnRegistry) |
nothing calls this directly
no outgoing calls
no test coverage detected