Chatter is an SSE demo application written in Go.
To install chatter, simply install Go and run:
$ go get github.com/benbjohnson/chatter
Then run chatterd
:
$ chatterd
Listening on http://localhost:9000
You can connect a client to chatter by simply going to
http://localhost:9000. There is not currently a message
creation UI so you'll need to use curl
or wget
:
$ curl -X POST http://localhost:9000/messages?body=hello