how to use ping/pong by go language gorilla package

I used to get ping by rehdmessage function when I use Huobi Websocket,and I want to create Binance ,but I found it is different from Huobi,it can’t get ping message form function readmessage ,can some help me,thanks very much!

Hello please me you solved I also want to know

The ping/pong message is can be read with function like onPing or onPong. These are control messages and therefore will not be sent with data. Not very sure about go but you can explore in this direction.