Documentation ¶
Index ¶
- func ParseSMTPRecipients() []string
- func SendAlert(message, snapshotURL string, snapshot io.Reader, eventid string)
- func SendDiscordMessage(message string, snapshot io.Reader, eventid string)
- func SendGotifyPush(message, snapshotURL string, eventid string)
- func SendPushoverMessage(message string, snapshot io.Reader, eventid string)
- func SendSMTP(message string, snapshot io.Reader, eventid string)
- func SendTelegramMessage(message string, snapshot io.Reader, eventid string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSMTPRecipients ¶
func ParseSMTPRecipients() []string
ParseSMTPRecipients splits individual email addresses from config file
func SendDiscordMessage ¶
SendDiscordMessage pushes alert message to Discord via webhook
func SendGotifyPush ¶
SendGotifyPush forwards alert messages to Gotify push notification server
func SendPushoverMessage ¶ added in v0.2.5
SendPushoverMessage sends alert message through Pushover service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.