Simple HTTP-based pubsub server
Install:
Ensure Go is installed and then run:
$ make
$ sudo make install
Run:
$ broadcastd [options]
Subscribe:
$ curl http://localhost:5454
Messages will be newline separated.
Publish:
$ curl -X POST http://localhost:5454 -d "Hello World"
Publish message to connected clients.
- -auth="" - HTTP basic auth password required for all requests
- -port=5454 - port on which to listen
- -v - output the version number