Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Email ¶
type Email struct { Receiver string `mapstructure:"receiver" validate:"required"` // 邮件接收人 Sender string `mapstructure:"sender" validate:"required"` // 邮件发送人 Host string `mapstructure:"host" validate:"required"` // 邮件主机 Pwd string `mapstructure:"pwd" validate:"required"` // 发件人密码 Port int `mapstructure:"port" validate:"required"` // 邮件端口 }
Click to show internal directories.
Click to hide internal directories.