Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalLog = log.WithField("notify", "no")
LocalLog is used for logs that should never trigger notifications.
Functions ¶
func NewNotifier ¶
NewNotifier creates and returns a new Notifier, using global configuration.
Types ¶
type Data ¶
type Data struct {
StaticData
Entries []*log.Entry
Report t.Report
}
Data is the notification template data model
func (Data) MarshalJSON ¶
MarshalJSON implements json.Marshaler
type StaticData ¶
StaticData is the part of the notification template data model set upon initialization
func GetTemplateData ¶
func GetTemplateData() StaticData
GetTemplateData populates static data used by preview templates.
Click to show internal directories.
Click to hide internal directories.