Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Serve *ServeConfig Db *DbConfig Log *LogConfig Zoom *ZoomConfig Mail *MailConfig }
type DB ¶
func NewDatabase ¶
type MailConfig ¶
type SendMail ¶
type SendMail struct { Enable int Smtp string Port int User string Pass string // contains filtered or unexported fields }
func NewSendMail ¶
func (*SendMail) AsyncSend ¶
func (mail *SendMail) AsyncSend(msg *SendMailMessage)
func (*SendMail) Send ¶
func (mail *SendMail) Send(msg *SendMailMessage)
type SendMailMessage ¶
type SendMailMessage struct { From string To []string Cc []string Subject string Body string Attach string // contains filtered or unexported fields }
func (*SendMailMessage) NewMessage ¶
func (m *SendMailMessage) NewMessage() *gomail.Message
type ServeConfig ¶
Click to show internal directories.
Click to hide internal directories.