teams

package
v0.0.0-...-c3423aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package teams is the teams notification

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotifyConfig

type NotifyConfig struct {
	base.DefaultNotify `yaml:",inline"`
	WebhookURL         string `` /* 131-byte string literal not displayed */
}

NotifyConfig is the teams notification configuration

func (*NotifyConfig) Config

func (c *NotifyConfig) Config(gConf global.NotifySettings) error

Config configures the teams notification

func (*NotifyConfig) SendTeamsMessage

func (c *NotifyConfig) SendTeamsMessage(title, msg string) error

SendTeamsMessage sends the message to the teams channel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳