Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMarkdownTemplate = `` /* 344-byte string literal not displayed */
View Source
const EmailMarkdownTemplate = `` /* 3610-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TemplateConfig ¶
type TemplateConfig struct {
monitor.NotificationTemplateConfig
}
func NewTemplateConfig ¶
func NewTemplateConfig(c monitor.NotificationTemplateConfig) *TemplateConfig
func (TemplateConfig) GenerateEmailMarkdown ¶
func (c TemplateConfig) GenerateEmailMarkdown() (string, error)
func (TemplateConfig) GenerateMarkdown ¶
func (c TemplateConfig) GenerateMarkdown() (string, error)
Click to show internal directories.
Click to hide internal directories.