E
E
ezpy2018-02-08 12:13:12
go
ezpy, 2018-02-08 12:13:12

How to connect to a third party socket server?

Good afternoon.
It is necessary to connect from the go of the application to the ws of a third-party resource, with the ability to send and receive packets from the server.
Please suggest how this can be implemented.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Pavlyuk, 2018-02-08
@ezpy

You can use the most popular module github.com/gorilla/websocket
Here they have an example client https://github.com/gorilla/websocket/blob/master/e...

P
Pavel Shvedov, 2018-02-08
@mmmaaak

https://github.com/gorilla/websocket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question