healthcheck

command module
v0.0.0-...-a94d065 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 11 Imported by: 0

README

healthcheck

Sends a GET request to a specified URL, checks whether the correct response code is received, and sends a SMS report with the result.

To run locally:

  • specify env variables (target url, phone number, expected response code)
  • go run main.go

To schedule:

  • deploy function to AWS Lambda
  • define env variables
  • subscribe to an AWS Cloudwatch event

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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