Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct { Port string `envconfig:"PORT"` MysqlUser string `envconfig:"MYSQL_USER"` MysqlPassowrd string `envconfig:"MYSQL_PASSWORD"` MysqlAddr string `envconfig:"MYSQL_ADDR"` MysqlDBName string `envconfig:"MYSQL_DATABASE"` AppEnv string `envconfig:"APP_ENV"` }
func NewEnvConfig ¶
func NewEnvConfig() *EnvConfig
Click to show internal directories.
Click to hide internal directories.