Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuratie ¶
type Configuratie struct { // Main Applicatie configuratie, waarop communiceert de applicatie en waar zijn de testservers. BindAddress string `yaml:"bind.address"` // BindAddress is voor de keuze van de interface van de applicatie Port string `yaml:"listen.port"` // Poort waarop de applicatie luistert ServerLatitude float64 `yaml:"server.latitude"` // Latitude GPS Locatie van de testserver (Om afstand te bepalen) ServerLongtitude float64 `yaml:"server.longtitude"` // Longtitude GPS Locatie van de testserver (Om afstand te bepalen) IPInfoAPIKey string `yaml:"ipinfo.apikey"` // API Key om gebruik te maken van https://ipinfo.io //Website gerelateerde dingen AssetsPath string `yaml:"assets.path"` // Locatie waar de HTML bestanden staan van de website EnableHTTP2 bool `yaml:"http2"` EnableTLS bool `yaml:"tls"` TLSCertFile string `yaml:"tls_cert_file"` TLSKeyFile string `yaml:"tls_key_file"` }
func Load ¶
func Load(configPath string) Configuratie
func LoadedConfig ¶
func LoadedConfig() *Configuratie
Click to show internal directories.
Click to hide internal directories.