Documentation
¶
Index ¶
Constants ¶
View Source
const SettingsKey = "messenger_slack"
Variables ¶
This section is empty.
Functions ¶
func SetSettings ¶
Types ¶
type MessagePoster ¶
type Notifier ¶
type Notifier struct { MessagePosterBuilder func(client *slack.Client) MessagePoster // contains filtered or unexported fields }
func (*Notifier) Notify ¶
func (m *Notifier) Notify(n core.Notification, translator translator.Translator) error
implement Notifier
func (*Notifier) SendTestNotification ¶
type Settings ¶
type Settings struct { BearerToken stringutil.Sensitive `json:"bearer_token,omitempty"` Channel string `json:"channel"` Enabled bool `json:"enabled"` }
type SettingsFetcher ¶
Click to show internal directories.
Click to hide internal directories.