Skip to content
Snippets Groups Projects
configuration.go 672 B
Newer Older
  • Learn to ignore specific revisions
  • Bolke de Bruin's avatar
    Bolke de Bruin committed
    package config
    
    type Configuration struct {
    	Server ServerConfig
    	OpenId OpenIDConfig
    	Caps   RDGCapsConfig
    }
    
    type ServerConfig struct {
    	GatewayAddress string
    	Port           int
    	CertFile       string
    	KeyFile        string
    	FarmHosts      []string
    	EnableOverride bool
    	HostTemplate   string
    }
    
    type OpenIDConfig struct {
    	ProviderUrl	 string
    	ClientId     string
    	ClientSecret string
    	CallbackHost string
    }
    
    type RDGCapsConfig struct {
    	SmartCardAuth    bool
    	TokenAuth        bool
    	IdleTimeout      int
    	RedirectAll      bool
    	DisableRedirect  bool
    	DisableClipboard bool
    	DisablePrinter   bool
    	DisablePort      bool
    	DisablePnp       bool
    	DisableDrive     bool
    }