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