Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SendWorker ¶
type SendWorker struct {
*Sender
// contains filtered or unexported fields
}
SendWorker worker process
func (*SendWorker) ParseTemplate ¶
func (sw *SendWorker) ParseTemplate(tmpl string, data interface{}) error
type Sender ¶
type Sender struct {
User string
Passwd string
Host string
Port int
// contains filtered or unexported fields
}
Sender global Sender config
func (*Sender) NewSendWorker ¶
func (s *Sender) NewSendWorker(from, to, subject string) *SendWorker
NewSendWorker return a initialized SendWorker struct
Click to show internal directories.
Click to hide internal directories.