Notify notifies user via email. It sends message immediately and does not group
more messages together. We have no idea of importance of monitored program
and the user might prefer not to wait.
type Message struct {
Nanny string// Nanny's name Program string// Program's name NextSignal time.Duration// How long have we not heard from program. Meta map[string]string}
Message is used with Notifier's Notify to customise messages sent via different
channels.
Format is deafult Message formatter, used to serialize information for some notifiers.
This is intended for future use, mainly the ability to set message format from config
or from API.