🎶 Minimalist websocket framework for Go.
Melody is websocket framework based on github.com/fasthttp/websocket that abstracts away the tedious parts of handling websockets. It gets out of your way so you can write real-time apps. Features include:
- Clear and easy interface similar to
net/http
or Gin. - A simple way to broadcast to all or selected connected sessions.
- Message buffers making concurrent writing safe.
- Automatic handling of sending ping/pong heartbeats that timeout broken sessions.
- Store data on sessions.
This is a fork that attempts to add support for fasthttp.
Please refer to the original project for more details.