Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Title string `json:"title"` TitleLink string `json:"title_link"` Text string `json:"text"` ImageURL string `json:"image_url"` Color string `json:"color"` }
Attachment of the rocket.chat message
type ConsoleFormatter ¶
type ConsoleFormatter struct { }
ConsoleFormatter displays output in console
type RocketChatFormatter ¶
type RocketChatFormatter struct {
Webhook string
}
RocketChatFormatter sends a webhook to rocket.chat
type RocketChatMessage ¶
type RocketChatMessage struct { IconEmoji string `json:"icon_emoji"` Text string `json:"text"` Attachments []Attachment `json:"attachments"` }
RocketChatMessage is the message to send to rocket chat
Click to show internal directories.
Click to hide internal directories.