Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string `envconfig:"SMTP_HOST"` Port string `envconfig:"SMTP_PORT"` Count int `envconfig:"SMTP_COUNT"` UserName string `envconfig:"SMTP_USERNAME"` Password string `envconfig:"SMTP_PASSWORD"` }
func LoadConfigFromEnv ¶
func LoadConfigFromEnv() Config
Click to show internal directories.
Click to hide internal directories.