Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
type EmailSender interface {
SendEmail(subject string, content string, to []string, attachFiles []string) error
}
func NewGmailSender ¶
func NewGmailSender(name string, fromEmailAddress string, fromEmailPassword string) EmailSender
func NewQQSender ¶
func NewQQSender(name string, fromEmailAddress string, fromEmailPassword string) EmailSender
type GmailSender ¶
type GmailSender struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.