Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BaseURL string `envconfig:"BASE_URL" required:"true"` Port int `envconfig:"PORT" default:"80"` LogLevel string `envconfig:"LOG_LEVEL" default:"info"` Debug bool `envconfig:"DEBUG" default:"false"` Redis string `envconfig:"REDIS_ADDR" required:"true"` DatabaseDriver string `envconfig:"DB_DRIVER" required:"true"` DatabaseHost string `envconfig:"DB_HOST"` DatabasePort string `envconfig:"DB_PORT"` DatabaseName string `envconfig:"DB_NAME" required:"true"` DatabaseUser string `envconfig:"DB_USER"` DatabasePassword string `envconfig:"DB_PASSWORD"` }
Config holds configurations values
Click to show internal directories.
Click to hide internal directories.