mailgun

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "mailgun"

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	// From contains the e-mail address notifications are sent from
	From string `json:"from"`

	// To contains a list of e-mail address destinations
	To []string `json:"to"`

	// Subject contains customizable subject line
	Subject string `json:"subject,omitempty"`

	// Mailgun specific API settings
	APIKey string `json:"apikey"`
	Domain string `json:"domain"`
}

func New

func New(config json.RawMessage) (Notifier, error)

func (Notifier) Notify

func (m Notifier) Notify(results []types.Result) error

func (Notifier) Type

func (Notifier) Type() string

Jump to

Keyboard shortcuts

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