drive

package
v1.2.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DingTalkMod

type DingTalkMod struct {
	DingTalkWebHook string
}

func DingTalkLoad

func DingTalkLoad(webHook string) *DingTalkMod

func (DingTalkMod) Send

func (m DingTalkMod) Send(value string)

type MailMod

type MailMod struct {
	Host    string `json:"host" dc:"邮件服务器地址"`
	Port    int    `json:"port" dc:"邮件服务器端口"`
	User    string `json:"user" dc:"邮件服务器用户名"`
	Pass    string `json:"pass" dc:"邮件服务器密码"`
	From    string `json:"from" dc:"邮件发送者"`
	To      string `json:"to" dc:"邮件接收者"`
	Subject string `json:"subject" dc:"邮件主题"`
}

func MailLoad

func MailLoad(Host string, port int, to string, subject string) *MailMod

func (MailMod) Send

func (m MailMod) Send(value string)

Jump to

Keyboard shortcuts

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