sender

package
v5.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendDingtalk

func SendDingtalk(message DingtalkMessage)

func SendEmail

func SendEmail(subject, content string, tos []string)

func SendFeishu

func SendFeishu(message FeishuMessage)

func SendWecom

func SendWecom(message WecomMessage)

func StartEmailSender

func StartEmailSender()

func WriteEmail

func WriteEmail(subject, content string, tos []string)

Types

type DingtalkMessage

type DingtalkMessage struct {
	Title     string
	Text      string
	AtMobiles []string
	Tokens    []string
}

type FeishuMessage

type FeishuMessage struct {
	Text      string
	AtMobiles []string
	Tokens    []string
}

type WecomMessage

type WecomMessage struct {
	Text   string
	Tokens []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL