Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImapClient ¶
type ImapClient struct { Server string //服务端地址 Port int //端口 User string //用户 Pwd string //密码或授权码 // contains filtered or unexported fields }
func (*ImapClient) Connect ¶
func (this *ImapClient) Connect()
func (*ImapClient) Disconnect ¶
func (this *ImapClient) Disconnect()
func (*ImapClient) GetBoxList ¶
func (this *ImapClient) GetBoxList() []string
func (*ImapClient) GetMessage ¶
func (this *ImapClient) GetMessage(box string)
type JobExecuter ¶
type JobExecuter struct {
// contains filtered or unexported fields
}
job实现
func (*JobExecuter) AddJob ¶
func (this *JobExecuter) AddJob(job *Job)
func (*JobExecuter) Start ¶
func (this *JobExecuter) Start(d time.Duration)
func (*JobExecuter) Stop ¶
func (this *JobExecuter) Stop()
type JobManager ¶
type JobManager struct {
// contains filtered or unexported fields
}
func (*JobManager) Add ¶
func (this *JobManager) Add(job *Job)
func (*JobManager) Start ¶
func (this *JobManager) Start(m int64)
func (*JobManager) Stop ¶
func (this *JobManager) Stop()
Click to show internal directories.
Click to hide internal directories.