I wrote a websocket client in Go using http://www.gorillatoolkit.org/pkg/websocket I need to write a test for this client, and check how it would behave in case of dropping connection. To do that, I wrote a fake WebSocket server. So my question is: how can I simulate down and up again from the server side?
Aucun commentaire:
Enregistrer un commentaire