Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotifier ¶
func (*MockNotifier) SendNotification ¶
func (n *MockNotifier) SendNotification(message string) error
SendNotification sends a notification to Slack.
type SlackNotifier ¶
type SlackNotifier struct {
// contains filtered or unexported fields
}
func NewSlackNotifier ¶
func NewSlackNotifier(token string, channelID string) *SlackNotifier
NewSlackNotifier creates a new SlackNotifier.
func (*SlackNotifier) SendNotification ¶
func (n *SlackNotifier) SendNotification(message string) error
SendNotification sends a notification to Slack.
Click to show internal directories.
Click to hide internal directories.