Discover Packages
github.com/maddevsio/screen-monitoring
agents
pagespeed_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: 12
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/pagespeed_agent
go get -u -v .
go build .
./pagespeed_agent -httpAddr=:8090 -dashboardURL=http://localhost:8080/dashboard/v1/register -targetURL=https://google.com
Env usage
export PORT=8090
export DASHBOARD_URL="http://localhost:8080/dashboard/v1/register"
export TARGET_URL="https://google.com"
export API_KEY="{GOOGLE PAGE SPEED APIKEY}"
Flag usage
Usage of ./pagespeed_agent:
-dashboardURL string
Dashboard service URL (default "http://localhost:8080/dashboard/v1/register")
-httpAddr string
HTTP listen address (default ":8090")
-targetURL string
Target URL (default "https://google.com")
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.