notifiers

package
v2.2.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(notifier *v3.Notifier, recipient string, msg *Message) error

func TestEmail

func TestEmail(host, password, username string, port int, requireTLS bool, title, content, receiver, sender string) error

func TestPagerduty

func TestPagerduty(key, msg string) error

func TestSlack

func TestSlack(url, channel, msg string) error

func TestWebhook

func TestWebhook(url, msg string) error

Types

type Message

type Message struct {
	Title   string
	Content string
}

Jump to

Keyboard shortcuts

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