MCPcopy
hub / github.com/DNSControl/dnscontrol / teamsNotifier

Struct teamsNotifier

pkg/notifications/teams.go:26–28  ·  view source on GitHub ↗

teamsNotifier sends notifications to teams or mattermost.

Source from the content-addressed store, hash-verified

24
25// teamsNotifier sends notifications to teams or mattermost.
26type teamsNotifier struct {
27 URL string
28}
29
30func (s *teamsNotifier) Notify(domain, provider, msg string, err error, preview bool) error {
31 var payload struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected