Skip to content

darkhelmet/balance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.