Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
func New ¶
func New(token, channel string, options ...NotifyOption) *Notifier
type NotifyOption ¶
type NotifyOption func(notifier *Notifier)
type SlackAttachmentCreator ¶
type SlackAttachmentCreator interface {
SlackAttachment() slack.Attachment
}
Click to show internal directories.
Click to hide internal directories.