Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier interface {
Notify(state ScheduleType, action action.Action)
}
type SLogNotifier ¶
func (SLogNotifier) Notify ¶
func (s SLogNotifier) Notify(state ScheduleType, action action.Action)
type SlackNotifier ¶
type SlackNotifier struct { Logger *slog.Logger SlackSender // contains filtered or unexported fields }
func (*SlackNotifier) Notify ¶
func (s *SlackNotifier) Notify(action ScheduleType, state action.Action)
type SlackSender ¶
type SlackSender interface { PostMessage(string, ...slack.MsgOption) (string, string, error) GetConversations(*slack.GetConversationsParameters) ([]slack.Channel, string, error) AuthTest() (*slack.AuthTestResponse, error) GetUsersInConversation(params *slack.GetUsersInConversationParameters) ([]string, string, error) }
Click to show internal directories.
Click to hide internal directories.