Command-line interface for vinxi with full-featured declarative configuration file.
Note: work in progress.
Installation
go get -u gopkg.in/vinxi/vinxi.v0/vinxictl
Usage
vinxictl 0.1.0
Usage:
vinxictl -p 80
vinxictl -p 80 -c config.toml
Options:
-a <addr> bind address [default: *]
-p <port> bind port [default: 8080]
-h, -help output help
-v, -version output version
-c, -config Config file path
-f Target server URL to forward traffic by default
-mrelease <num> OS memory release inverval in seconds [default: 30]
-cpus <num> Number of used cpu cores.
(default for current machine is 8 cores)