check

package
v0.0.0-...-c3a31d8 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

check.go

email.gp

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EKCheck

type EKCheck struct {
	Url      string
	Interval time.Duration
	EMail    EKMail
	// contains filtered or unexported fields
}

func (*EKCheck) Start

func (ekc *EKCheck) Start()

func (*EKCheck) Stop

func (ekc *EKCheck) Stop()

type EKMail

type EKMail struct {
	To       string //接收人多人以“;”分割
	From     string //发送人
	Host     string //SMTP服务器地址
	Title    string //标题
	Content  string //内容
	User     string //发送人用户名
	PassWord string //发送人密码
}

定义EMail对象

func (*EKMail) SendMail

func (ekm *EKMail) SendMail() error

Jump to

Keyboard shortcuts

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