Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailReporter ¶
EmailReporter wraps up the configuration needed for sending email events
func NewEmailReporter ¶
func NewEmailReporter(options map[string]string) (*EmailReporter, error)
NewEmailReporter takes a map of options and produces a reporter that can send email message events
func (*EmailReporter) Report ¶
func (r *EmailReporter) Report(e Event) error
Report sends an email event
type SlackReporter ¶
type SlackReporter struct { Endpoint string Token string Channel string Username string Icon string Client HTTPClient }
func NewSlackReporter ¶
func NewSlackReporter(options map[string]string) (*SlackReporter, error)
func (*SlackReporter) Report ¶
func (r *SlackReporter) Report(e Event) error
Click to show internal directories.
Click to hide internal directories.