https://github.com/carbocation/go.websocket-chat
A chat library using websockets and golang
https://github.com/carbocation/go.websocket-chat
Last synced: 5 months ago
JSON representation
A chat library using websockets and golang
- Host: GitHub
- URL: https://github.com/carbocation/go.websocket-chat
- Owner: carbocation
- License: other
- Created: 2013-08-25T01:36:38.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-25T01:50:10.000Z (almost 13 years ago)
- Last Synced: 2024-06-19T05:48:32.654Z (about 2 years ago)
- Language: Go
- Size: 52.7 KB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Golang Websocket Chat
=====================
This is a websocket-based chat library with examples; it uses [Garyburd's websocket library](https://github.com/garyburd/go-websocket), and is deeply inspired by his examples.
Please see http://gary.beagledreams.com/page/go-websocket-chat.html for more details.
Usage
=====
`Connections` represent websocket connections from individual users. Those users can register with `hubs`, which are, in essence,
chat rooms. Messages sent to a hub will be received by every user subscribed to a hub (i.e., to every user who has connected via a
websocket which has not timed out or been closed).
See the "examples" section for working usage examples.