https://github.com/benbjohnson/chatter
Demo application using Server Side Events (SSE) and written in Go.
https://github.com/benbjohnson/chatter
Last synced: 10 months ago
JSON representation
Demo application using Server Side Events (SSE) and written in Go.
- Host: GitHub
- URL: https://github.com/benbjohnson/chatter
- Owner: benbjohnson
- Created: 2014-09-26T15:32:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-26T15:32:17.000Z (over 11 years ago)
- Last Synced: 2025-03-15T23:56:14.214Z (10 months ago)
- Language: Go
- Size: 83 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
chatter
=======
Chatter is an SSE demo application written in Go.
## Getting Started
To install chatter, simply install Go and run:
```sh
$ go get github.com/benbjohnson/chatter
```
Then run `chatterd`:
```sh
$ chatterd
Listening on http://localhost:9000
```
You can connect a client to chatter by simply going to
[http://localhost:9000](http://localhost:9000). There is not currently a message
creation UI so you'll need to use `curl` or `wget`:
```sh
$ curl -X POST http://localhost:9000/messages?body=hello
```