email.go 496 B

1234567891011
  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"`
  8. Secret string `mapstructure:"secret" json:"secret" yaml:"secret"`
  9. Nickname string `mapstructure:"nickname" json:"nickname" yaml:"nickname"`
  10. }