Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMessage ¶
func ParseMessage(message domain.NotificationMessage, templates domain.NotificationMessages, defaultTemplateFiles embed.FS) (string, error)
Types ¶
type Config ¶
type Config struct { Workspaces []SlackWorkspace `mapstructure:"workspaces"` Messages domain.NotificationMessages }
type Notifier ¶
type Notifier struct { Messages domain.NotificationMessages // contains filtered or unexported fields }
func NewNotifier ¶
func NewNotifier(config *Config, httpClient utils.HTTPClient) *Notifier
type SlackWorkspace ¶ added in v0.7.6
Click to show internal directories.
Click to hide internal directories.