service

package
v0.0.0-...-51e2dce Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(conf *goconfig.ConfigFile, title, msg string) error

Types

type Dingtalk

type Dingtalk struct {
	// contains filtered or unexported fields
}

func NewDingtalk

func NewDingtalk(conf *goconfig.ConfigFile) *Dingtalk

func (*Dingtalk) Send

func (this *Dingtalk) Send(title, msg string) error

type Email

type Email struct {
	// contains filtered or unexported fields
}

func NewEmail

func NewEmail(conf *goconfig.ConfigFile) *Email

func (*Email) Send

func (this *Email) Send(mailTo []string, subject, body string) error

type Wechat

type Wechat struct {
	// contains filtered or unexported fields
}

func NewWechat

func NewWechat(conf *goconfig.ConfigFile) *Wechat

func (*Wechat) Send

func (this *Wechat) Send(title, msg string) error

Jump to

Keyboard shortcuts

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