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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址