Closed AquiGorka closed 7 years ago
The framework chosen for the http server (Iris) can implement websockets very easily (one of the reasons for choosing it in the first place).
With Go I could implement a TCP socket server (might be faster, not sure) but a complete websocket implementation (like the one that comes with Iris) will add all the methods and checks that would have to be implemented if actually going via the TCP socket server route, so that is a free given.
Conclusion: websockets with Iris.
Run a socket server to expose interface