You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
679 B

  1. package config
  2. type Email struct {
  3. To string `mapstructure:"to" json:"to" yaml:"to"` // 收件人:多个以英文逗号分隔
  4. Port int `mapstructure:"port" json:"port" yaml:"port"` // 端口
  5. From string `mapstructure:"from" json:"from" yaml:"from"` // 收件人
  6. Host string `mapstructure:"host" json:"host" yaml:"host"` // 服务器地址
  7. IsSSL bool `mapstructure:"is-ssl" json:"isSSL" yaml:"is-ssl"` // 是否SSL
  8. Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` // 密钥
  9. Nickname string `mapstructure:"nickname" json:"nickname" yaml:"nickname"` // 昵称
  10. }