alerting

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAlert

func SendAlert(data AlertData) error

SendAlert sends an alert to the receiver specified in the config. It uses the AlertData to know what and if to send an alert

Types

type AlertData

type AlertData struct {
	Time        util.ApisenseTime
	ErrorAmount uint
}

Information used to send an alert

Jump to

Keyboard shortcuts

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