Documentation ¶
Index ¶
Constants ¶
View Source
const (
Version = "v2.0.0"
)
Variables ¶
View Source
var (
App *syncd
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Serve *ServeConfig Db *DbConfig Log *LogConfig Syncd *SyncdConfig 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.