Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaskURLPass ¶
MaskURLPass will mask the password (if any) in the URL.
Types ¶
type POSTDataAlert ¶
POSTDataAlert represents fields in outgoing alert notification.
type POSTDataAlertBundle ¶
type POSTDataAlertBundle struct { AppName string Type string ServiceID string ServiceName string Count int }
POSTDataAlertBundle represents fields in outgoing alert bundle notification.
type POSTDataAlertStatus ¶
POSTDataAlertStatus represents fields in outgoing alert status notification.
type POSTDataAlertStatusBundle ¶
type POSTDataAlertStatusBundle struct { AppName string Type string AlertID int LogEntry string Count int }
POSTDataAlertStatusBundle represents fields in outgoing alert status bundle notification.
type POSTDataTest ¶
POSTDataTest represents fields in outgoing test notification.
type POSTDataVerification ¶
POSTDataVerification represents fields in outgoing verification notification.
type Sender ¶
type Sender struct{}
func (Sender) FriendlyValue ¶
FriendlyValue will return a display-ready version of the URL with the password masked, query removed, and the path truncated to 15 chars.
func (*Sender) Send ¶
func (s *Sender) Send(ctx context.Context, msg notification.Message) (*notification.SentMessage, error)
Send will send an alert for the provided message type