Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Scheme is the identifying part of this service's configuration URL
Scheme = "teams"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { standard.QuerylessConfig standard.EnumlessConfig Token Token }
Config for use within the teams plugin
type JSON ¶
type JSON struct { CardType string `json:"@type"` Context string `json:"@context"` Markdown bool `json:"markdown,bool"` Text string `json:"text,omitempty"` }
JSON is the actual payload being sent to the teams api
type Service ¶
Service providing teams as a notification service
func (*Service) CreateConfigFromURL ¶
CreateConfigFromURL for use within the teams plugin
func (*Service) Initialize ¶
Initialize loads ServiceConfig from configURL and sets logger for this Service
Click to show internal directories.
Click to hide internal directories.