https://github.com/data-dog/golang-websocket-hub
Golang websocket server for private or broadcasted messages
https://github.com/data-dog/golang-websocket-hub
Last synced: 10 months ago
JSON representation
Golang websocket server for private or broadcasted messages
- Host: GitHub
- URL: https://github.com/data-dog/golang-websocket-hub
- Owner: DATA-DOG
- License: other
- Created: 2016-01-16T18:40:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-16T19:18:41.000Z (over 10 years ago)
- Last Synced: 2025-06-05T08:24:10.088Z (about 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 21
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Websocket hub for golang
[](https://godoc.org/github.com/DATA-DOG/golang-websocket-hub)
What? - ready to use websocket server with user subscription for private or broadcast messages.
It is based on [gorilla websockets](https://github.com/gorilla/websocket) package.
Why? - I find it a common use case for needing such behavior in day to day applications. Decided to opensource,
maybe someone will find it useful.
See the example application built with angular to show realtime behavior.
cd example && make
Visit [localhost:8000](http://localhost:8000) to see it in action. Open a few tabs and try to send some messages.