Skip to content

scttnlsn/broadcastd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broadcastd

Simple HTTP-based pubsub server

Getting Started

Install:

Ensure Go is installed and then run:

$ make
$ sudo make install

Run:

$ broadcastd [options]

API

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.

CLI Options

  • -auth="" - HTTP basic auth password required for all requests
  • -port=5454 - port on which to listen
  • -v - output the version number

About

Simple HTTP-based pubsub server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages