Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_SLACK_ATTACHMENTS = 20 // the API technically supports 100 but after 20 they're "unreadable" according to Slack
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackNotifier ¶
type SlackNotifier struct {
// contains filtered or unexported fields
}
func NewSlackNotifier ¶
func (*SlackNotifier) Collect ¶
func (sn *SlackNotifier) Collect()
func (*SlackNotifier) IsValid ¶
func (sn *SlackNotifier) IsValid() bool
func (*SlackNotifier) Send ¶
func (sn *SlackNotifier) Send() error
func (*SlackNotifier) SlackSend ¶
func (sn *SlackNotifier) SlackSend(user *slack.User, candidate []*mark.MarkedCandidate) error
Click to show internal directories.
Click to hide internal directories.