Simple TCP load balancer in Go
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backends
.gitignore
Godeps Use godeps Dec 23, 2013
LICENSE
README.md
balance.go
http.go
https.go
shared.go
tcp.go
version.go

README.md

balance

Simple TCP/HTTP/HTTPS load balancer in Go

Install

go get github.com/darkhelmet/balance

Usage

# Simple tcp mode
balance tcp -bind :4000 localhost:4001 localhost:4002

# HTTP mode
balance http -bind :4000 localhost:4001 localhost:4002

# HTTPS mode
balance https -bind :4000 -cert ssl.crt -key ssl.key localhost:4001 localhost:4002

License

GNU AGPL, see LICENSE file.