blinkinglight / fabio-example

Example service for the consul-aware HTTP load-balancer fabio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

fabio-example is an example HTTP microservice for demonstrating the consul-aware HTTP load-balancer fabio.

Build it with

go get -u github.com/magiconair/fabio-example

Run it

./fabio-example -addr <service host:port> -prefix host/path,host/path,...

e.g.

./fabio-example -addr 127.0.0.1:5000 -prefix /foo,/bar

About

Example service for the consul-aware HTTP load-balancer fabio


Languages

Language:Go 100.0%