Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Templater ¶
type Templater struct { DefaultTemplate *internal.MessageTemplate // contains filtered or unexported fields }
Templater is the object used to handle default and different templates depending on the specific matcher configuration
func (Templater) Expand ¶
Expand send the message by expanding the template to then send the actual message
func (Templater) WithTemplate ¶
func (m Templater) WithTemplate(template *internal.MessageTemplate) Templater
WithTemplate sets a specific template and returns a new matcher
Click to show internal directories.
Click to hide internal directories.