Reconnecting WebSocket is a websocket client based on gorilla/websocket that will automatically reconnect if the connection is dropped.
go get github.com/icamys/recws
See basic usage example.
recws is open-source software licensed under the MIT license.