WebSocket is a Go implementation of the WebSocket for fasthttp.
This project is a fork of the latest version of gorilla/websocket that continues its development independently.
The WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
go get github.com/fasthttp/websocket
But beware that this will fetch the latest commit of the master branch which is never purposely broken, but usually not considered stable anyway.
The WebSocket package passes the server tests in the Autobahn Test Suite using the application in the _examples/autobahn subdirectory.