Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FQDN string `env:"FQDN,default=localhost"` HTTPS bool `env:"HTTPS,default=false"` Port string `env:"PORT,default=8080"` DatabaseURL string `env:"DATABASE_URL,default=postgres://postgres:postgres@localhost:5432/api?sslmode=disable"` WeatherAPIHost string `env:"WEATHER_API_HOST,default=https://api.weatherapi.com"` WeatherAPIKey string `env:"WEATHER_API_KEY"` }
Click to show internal directories.
Click to hide internal directories.