Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mattermost ¶
Mattermost handler implements handler.Handler interface, Notify event to Mattermost channel
func (*Mattermost) SendMessage ¶
func (m *Mattermost) SendMessage(text string)
type MattermostMessage ¶
type MattermostMessage struct {
Channel string `json:"channel"`
Username string `json:"username"`
IconUrl string `json:"icon_url"`
Text string `json:"text"`
Attachements []MattermostMessageAttachement `json:"attachments"`
}
Click to show internal directories.
Click to hide internal directories.