package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Dec 23, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Fact struct {
Key string `json:"key"`
Value string `json:"value"`
}
type MessageCard struct {
CardType string `json:"@type"`
Context string `json:"@context"`
Markdown bool `json:"markdown,omitempty"`
Text string `json:"text,omitempty"`
Title string `json:"title,omitempty"`
Summary string `json:"summary,omitempty"`
Sections []Section `json:"sections,omitempty"`
ThemeColor string `json:"themeColor,omitempty"`
}
type Options struct {
ID string `mapstructure:"id,omitempty"`
WebhookURL string `mapstructure:"webhookUrl,omitempty"`
Title string `mapstructure:"title,omitempty"`
ThemeColor string `mapstructure:"themeColor,omitempty"`
Template string `mapstructure:"template,omitempty"`
}
type Provider struct {
Teams []*Options `mapstructure:"teams,omitempty"`
}
type Section struct {
Text string `json:"text,omitempty"`
ActivityText string `json:"activityText,omitempty"`
StartGroup bool `json:"startGroup"`
Facts []Fact `json:"facts,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.