Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSlackMessagAttachment ¶
CreateSlackMessagAttachment is a function to create slack message
Types ¶
type MessageAttachments ¶
type MessageAttachments struct {
Color string `json:"color,omitempty"`
Pretext string `json:"pretext,omitempty"`
Username string `json:"username,omitempty"`
Icon string `json:"icon_emoji,omitempty"`
Fields []slackAttachmentField `json:"fields,omitempty"`
}
MessageAttachments is the Slack message stracture
Click to show internal directories.
Click to hide internal directories.