Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v1.1.1
type API interface {
Send(webhookURL string, webhookMessage MessageCard) error
}
API - interface of MS Teams notify
type MessageCard ¶
type MessageCard struct {
Title string `json:"title"`
Text string `json:"text"`
ThemeColor string `json:"themeColor,omitempty"`
}
MessageCard - struct of message card
func NewMessageCard ¶
func NewMessageCard() MessageCard
NewMessageCard - create new empty message card
Click to show internal directories.
Click to hide internal directories.