bouncer

command module
v0.0.0-...-dda1418 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2016 License: GPL-2.0 Imports: 18 Imported by: 0

README

Bouncer

Getting started

Install dependencies

$ export GOPATH=$(pwd)
$ go get bouncer/...

Run all tests:

$ go test bouncer/...

Execute:

$ go run main.go -config yourconfig.json
Listening on localhost:8000

Flags:

-help
-config string
    config file (default "config.json")
-listen string
    host and port to listen on (default "localhost:8000")
-fluent string
    fluentd host and port
-sentry string
    Sentry DSN

Signals: SIGUSR2 - reload configuration file

Container

Building the container:

$ docker build -t bouncer .

Executing the container:

$ docker run -ti -p 9000:9000 -v /path/to/folder/with/config/:/etc/bouncer bouncer -fluent fluenthost:1234

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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