Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier is the notifier for email
func (*Notifier) Configure ¶
func (s *Notifier) Configure(webhookConfig NotifierConfig) error
Configure configures the notifier
func (*Notifier) GetName ¶
func (s *Notifier) GetName() notifiers.NotifierName
GetName returns the name of the notifier
type NotifierConfig ¶
type NotifierConfig struct {
Enabled bool `json:"enabled"`
}
NotifierConfig is the config for the SMTP notifier
func (*NotifierConfig) Validate ¶
func (s *NotifierConfig) Validate() error
Validate validates the config
type SendConfig ¶
SendConfig is the config for the notifier
Click to show internal directories.
Click to hide internal directories.