beeper

module
v0.0.0-...-381ebb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2015 License: MIT

README

beeper

Pub/Sub messaging server using websockets

Installation

go get github.com/arvinkulagin/beeper/...

Usage

Start server

user@host$ beeper -ws localhost:8888 -rest localhost:8889

Start command line interface

user@host$ beeper-cli -s localhost:8889

Get help

>> help

Add topic

>> add test0

Subscribe to topic

Connect to ws://localhost:8888/test0

Publish message

>> pub test0 Hello World!

Delete topic

>> del test0

API

You can get golang REST API wrapper here.

Add topic

POST http://localhost:8889/topic with topic ID in request body

Publish message

POST http://localhost:8889/topic/{id} with message in request body

Delete topic

DELETE http://localhost:8889/topic/{id}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL