Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct { From string SMTPHello string SMTPHost string SMTPPort int64 FrontURI string InsecureTLS bool Password string Username string TemplateFile string TemplateName string Template *template.Template // contains filtered or unexported fields }
Sender implements moira sender interface via pushover
func (*Sender) Init ¶
func (sender *Sender) Init(senderSettings map[string]string, logger moira.Logger, location *time.Location, dateTimeFormat string) error
Init read yaml config
func (*Sender) SendEvents ¶
func (sender *Sender) SendEvents(events moira.NotificationEvents, contact moira.ContactData, trigger moira.TriggerData, plot []byte, throttled bool) error
SendEvents implements Sender interface Send
Click to show internal directories.
Click to hide internal directories.