Discover Packages
github.com/maddevsio/screen-monitoring
agents
http_agent
command
Version:
v0.0.0-...-1c5bec1
Opens a new window with list of versions in this module.
Published: Nov 30, 2016
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Installation
Install Go 1.7.x or greater, git, setup $GOPATH
, and PATH=$PATH:$GOPATH/bin
Run the server
cd $GOPATH/src/github.com/maddevsio/screen-monitoring/agents/http_agent
make depends
make build
./http_agent -httpAddr=7066 -dashboardURL=http://localhost:8080/dashboard/v1/register -targetHost=github.com:443
Docker
$ docker build -t http-agent .
$ docker run -it --rm --name my-http-agent http-agent
Env usage
export PORT=8090
export DASHBOARD_URL="http://localhost:8080/dashboard/v1/register"
export TARGET_HOST="github.com:443"
Flag usage
Usage of ./http_agent:
-dashboardURL string
Dashboard service URL (default "http://localhost:8080/dashboard/v1/register")
-httpAddr string
HTTP listen address (default ":8090")
-targetHost string
Target hostname and port (default "google.com:80")
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.