Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Env must be local, development, test or production Env string `env:"ENV" envDefault:"production"` Host string `env:"HOST"` Port int `env:"PORT" envDefault:"3000"` APIKey string `env:"API_KEY"` Repo struct { Conn string `env:"CONN,notEmpty"` Secret string `env:"SECRET,notEmpty"` } `envPrefix:"REPO_"` }
Click to show internal directories.
Click to hide internal directories.