go-binance
go-binance copied to clipboard
If we need to handle the ping in go-binance?
According to binance's doc:
The websocket server will send a ping frame every 5 minutes. If the websocket server does not receive a pong frame back from the connection within a 15 minute period, the connection will be disconnected. Unsolicited pong frames are allowed.
gorilla websocket package sets ping handler by default