Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { AppName string `env:"APP_NAME" envDefault:"blueprint-roa-golang"` Port int `env:"PORT" envDefault:"3020"` HttpPort int `env:"HTTP_PORT" envDefault:"3021"` Env string `env:"ENV" envDefault:"localhost"` DbDriver string `env:"DB_DRIVER" envDefault:"postgres"` DbHost string `env:"DB_HOST" envDefault:"127.0.0.1"` DbPort string `env:"DB_PORT" envDefault:"5432"` DbUser string `env:"DB_USER" envDefault:"postgres"` DbName string `env:"DB_NAME" envDefault:"products"` DbPassword string `env:"DB_PASSWORD" envDefault:"postgres"` Jaeger Jaeger }
func NewConfiguration ¶
func NewConfiguration() Configuration
Click to show internal directories.
Click to hide internal directories.