busl

command module
v0.0.0-...-466767c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2014 License: MIT Imports: 3 Imported by: 0

README


busl Build Status

busl - the bustle part of hustle.

a simple pubsub service that runs on Heroku.

usage

create a stream:

$ export STREAM_ID=$(curl http://localhost:5001/streams -X POST)
# STREAM_ID=b7e586c8404b74e1805f5a9543bc516f

connect a consumer using the stream id:

$ curl http://localhost:5001/streams/$STREAM_ID
...

in a separate terminal, produce some data using the same stream id...

$ curl http://localhost:5001/streams/$STREAM_ID -X POST

...and you see the busl.

setup

to setup to test and run busl, setup godep and then:

$ godep go install
$ cp .sample.env .env
$ export $(cat .env)

test

to run tests:

$ godep go test ./...

run

to run the server:

$ godep go run main.go

deploy

Deploy to Heroku

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/cyberdelia/pat
Package pat implements a simple URL pattern muxer
Package pat implements a simple URL pattern muxer
_workspace/src/github.com/garyburd/redigo/redis
Package redis is a client for the Redis database.
Package redis is a client for the Redis database.
_workspace/src/gopkg.in/check.v1
Package check is a rich testing extension for Go's testing package.
Package check is a rich testing extension for Go's testing package.

Jump to

Keyboard shortcuts

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