Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Message ¶
type Message struct { Text string `json:"text"` Markdown bool `json:"mrkdwn"` Attachments []*Attachment `json:"attachments"` }
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
func (*Sender) SendMessage ¶
type SenderInterface ¶
func NewSlackSender ¶
func NewSlackSender(webHookUrl, notifierName string, httpClient *http.Client) SenderInterface
Click to show internal directories.
Click to hide internal directories.