Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Port int `json:"port"` // DAS port number Uri string `json:"uri"` // DAS mongodb URI Services []string `json:"services"` // DAS services UrlQueueLimit int32 `json:"urlQueueLimit"` // DAS url queue limit UrlRetry int `json:"urlRetry"` // DAS url retry number Templates string `json:"templates"` // location of DAS templates Jscripts string `json:"jscripts"` // location of DAS JavaScript files Images string `json:"images"` // location of DAS images Styles string `json:"styles"` // location of DAS CSS styles Hkey string `json:"hkey"` // DAS HKEY file Base string `json:"base"` // DAS base path DbsInstances []string `json:"dbsInstances"` // list of DBS instances Views []string `json:"views"` // list of supported views Verbose int `json:"verbose"` // verbosity level DasMaps string `json:"dasmaps"` // location of dasmaps DasExamples string `json:"dasexamples"` // location of dasexamples ServerKey string `json:"serverkey"` // server key for https ServerCrt string `json:"servercrt"` // server certificate for https UpdateDNs int `json:"updateDNs"` // interval in minutes to update user DNs Timeout int `json:"timeout"` // query time out Frontend string `json:"frontend"` // frontend URI to use RucioUrl string `json:"rucioUrl"` // default RucioUrl RucioTokenCurl bool `json:"rucioTokenCurl"` // use curl method to obtain Rucio Token ProfileFile string `json:"profileFile"` // send profile data to a given file TLSCertsRenewInterval int `json:"tlsCertsRenewInterval"` // renewal interval for TLS certs LogFile string `json:"logFile"` // log file name UseDNSCache bool `json:"useDNSCache"` // use DNS Cache AuthDN bool `json:"authDN"` // user user DN authentication KeepAlive bool `json:"keepAlive"` // use keep-alive HTTP header }
Configuration stores DAS configuration parameters
var Config Configuration
Config variable represents configuration object
func (*Configuration) String ¶
func (c *Configuration) String() string
String returns string representation of DAS Config
Click to show internal directories.
Click to hide internal directories.