alerts

package
v0.0.0-...-8769a01 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PingUp          = " is up"
	PingDown        = " is down"
	ValidSsl        = " SSL certificate is valid"
	SslExpiredDate1 = " will be expired in "
	SslExpired      = " is expired"
	SslExpiredDate2 = " Days"
	CheckPort       = "Port:"
	CheckPortUp     = " is up on "
	CheckPortDown   = " is down on "
)

Variables

This section is empty.

Functions

func Alerter

func Alerter(slackToken, slackChannel,
	domain, message, status string)

Alerter sends alerts if alert type is set to "on" in main.yaml file

Types

This section is empty.

Jump to

Keyboard shortcuts

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