uptimed

command module
v0.0.0-...-358283f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 15 Imported by: 0

README

uptimed

CircleCI Go Report Card License

Tool for checking the uptime of a given endpoint

Usage

$ curl -X POST http://<uptimed>/start?endpoint=<url>&timeout=1800&interval=2
<monitor_id>
$ // do stuff
$ curl -X POST http://<uptimed>/stop/<monitor_id>
<uptime result>

Development

Go modules are used for dependency tracking. Make sure you do export GO111MODULE=on before running any Go commands. It is no longer needed to have the project checked out in your $GOPATH.

go run uptimed.go --bind-address=127.0.0.1:8080

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL