Improve config

This commit is contained in:
Bolke de Bruin 2020-07-21 10:29:18 +02:00
parent 01345b9416
commit 097a2deca7
4 changed files with 34 additions and 27 deletions

View file

@ -16,28 +16,27 @@ type ServerConfig struct {
Port int
CertFile string
KeyFile string
FarmHosts []string
Hosts []string
EnableOverride bool
HostTemplate string
}
type OpenIDConfig struct {
ProviderUrl string
ProviderUrl string
ClientId string
ClientSecret string
}
type RDGCapsConfig struct {
SmartCardAuth bool
TokenAuth bool
IdleTimeout int
RedirectAll bool
DisableRedirect bool
DisableClipboard bool
DisablePrinter bool
DisablePort bool
DisablePnp bool
DisableDrive bool
SmartCardAuth bool
TokenAuth bool
IdleTimeout int
RedirectAll bool
DisableRedirect bool
EnableClipboard bool
EnablePrinter bool
EnablePort bool
EnablePnp bool
EnableDrive bool
}
func init() {
@ -64,4 +63,4 @@ func Load(configFile string) Configuration {
}
return conf
}
}