No description, website, or topics provided.
Clone or download
Latest commit 62dfeaf Jun 1, 2018
Permalink
Failed to load latest commit information.
proxy
.gitignore
LICENSE
Makefile
README.md
chocon.go
glide.lock
glide.yaml

README.md

chocon

chocon is a simple proxy server for persisting connections between upstream servers.

Requirements

chocon requires Go1.7.3 or later.

Installation

go get -u github.com/kazeburo/chocon

Build

make bundle
make

Run

chocon

Usage

$ chocon -h
Usage:
chocon [OPTIONS]

Application Options:
-l, --listen=             address to bind (default: 0.0.0.0)
-p, --port=               Port number to bind (default: 3000)
--access-log-dir=     directory to store logfiles
--access-log-rotate=  Number of day before remove logs (default: 30)
-v, --version             Show version
-c, --keepalive-conns=    maximum keepalive connections for upstream (default: 2)
--read-timeout=       timeout of reading request (default: 30)
--write-timeout=      timeout of writing response (default: 90)
--proxy-read-timeout= timeout of reading response from upstream (default: 60)
--upstream=           upstream server like http://upstream-server/ (default: none)

Help Options:
-h, --help                Show this help message