Skip to content

robinedwards/bouncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AB Testing / Feature switching service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages