Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Notify ¶
func Notify(model config.ModelConfig, info config.ModelRunInfo) error
Types ¶
type SlackAttachment ¶
type SlackAttachment struct {
Fallback string `json:"fallback"`
Text string `json:"text"`
Color string `json:"color"`
Fields []SlackAttachmentField `json:"fields,omitempty"`
}
type SlackAttachmentField ¶
type SlackNotification ¶
type SlackNotification struct {
Text string `json:"text"`
Channel string `json:"channel"`
IconEmoji string `json:"icon_emoji"`
Attachments []SlackAttachment `json:"attachments,omitempty"`
}
type StatusData ¶
Click to show internal directories.
Click to hide internal directories.