Documentation ¶
Overview ¶
alert package implements how to kick the alert.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidAlertURL = errors.New("invalid alert URL")
)
Functions ¶
This section is empty.
Types ¶
type AlertReporter ¶
func (AlertReporter) Report ¶
func (r AlertReporter) Report(rec api.Record)
type AlertSet ¶ added in v0.11.0
type AlertSet []Alert
AlertSet is a set of alerts. It also implements Alert alertinterface.
type PluginAlert ¶
type PluginAlert struct {
// contains filtered or unexported fields
}
func NewPluginAlert ¶
func NewPluginAlert(target string) (PluginAlert, error)
type ProbeAlert ¶
type ProbeAlert struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.