barito-router

command module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: MIT Imports: 7 Imported by: 0

README

Barito Router

alt

Route incoming request from outside to Barito world.

Setup Development

cd $GOPATH/src/github.com/BaritoLog/barito-router
git clone git@github.com:BaritoLog/barito-router.git

cd barito-router
go build
./barito-router

or

go get github.com/BaritoLog/barito-router
$GOPATH/bin/barito-router
Env
Name Description Default Value
BARITO_PRODUCER_ROUTER Address that router listen and serve :8081
BARITO_KIBANA_ROUTER Address that kibana router listen and serve :8082
BARITO_MARKET_URL URL of market API http://localhost:3000
BARITO_PROFILE_API_PATH api path to get app profile by secret /api/profile
BARITO_PROFILE_API_BY_APP_GROUP_PATH api path to get app profile by app group secret /api/profile_by_app_group
BARITO_AUTHORIZE_API_PATH api path to authorization /api/authorize
BARITO_PROFILE_API_BY_CLUSTERNAME_PATH api path to get app profile by cluster name /api/profile_by_cluster_name

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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