Notifier is in charge of define the amount of notifiers it should be in use for a notification, and the data to perform the notification.
The available fields are the following ones:
tokenis the information needed to send a message for some platforms like Slack or Mattermost. But it could means even a password for an email backend.modulespecifies the notifier module to use, e.g.Hemdal.Notifier.SlackorHemdal.Notifier.Mattermost(default:Hemdal.Notifier.Slack).usernameis the name of the user to show the notification. But it could means different things depending on the backend. For an email backend it could be the user/email to send the message.log_levelused to send the notifications. If we specify anerrorlog level it will notify only when a change from/to error is happening. SeeHemdal.Event.Notificationfor further information.metadatathe extra data sent to the notifier.
Summary
Functions
Callback implementation for Construct.cast/2.
Callback implementation for Construct.make/2.
Callback implementation for Construct.make!/2.
Types
Functions
Callback implementation for Construct.cast/2.
Callback implementation for Construct.make/2.
Callback implementation for Construct.make!/2.