Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(configFileName string)
func SetPublicUrls ¶
func SetPublicUrls() error
Types ¶
type Certificate ¶
type Configuration ¶
type Configuration struct { Certificate Certificate `yaml:"certificate"` Storage Storage `yaml:"storage"` License License `yaml:"license"` LcpServer ServerInfo `yaml:"lcp"` LsdServer LsdServerInfo `yaml:"lsd"` FrontendServer FrontendServerInfo `yaml:"frontend"` LsdNotifyAuth Auth `yaml:"lsd_notify_auth"` LcpUpdateAuth Auth `yaml:"lcp_update_auth"` LicenseStatus LicenseStatus `yaml:"license_status"` Localization Localization `yaml:"localization"` ComplianceMode bool `yaml:"compliance_mode"` GoofyMode bool `yaml:"goofy_mode"` Profile string `yaml:"profile,omitempty"` }
var Config Configuration
Config is a global variable which contains the server configuration
type FileSystem ¶
type FileSystem struct {
Directory string `yaml:"directory"`
}
type FrontendServerInfo ¶
type LicenseStatus ¶
type Localization ¶
type LsdServerInfo ¶
type LsdServerInfo struct { ServerInfo `yaml:",inline"` LicenseLinkUrl string `yaml:"license_link_url,omitempty"` LogDirectory string `yaml:"log_directory"` }
type ServerInfo ¶
type ServerInfo struct { Host string `yaml:"host,omitempty"` Port int `yaml:"port,omitempty"` AuthFile string `yaml:"auth_file"` ReadOnly bool `yaml:"readonly,omitempty"` PublicBaseUrl string `yaml:"public_base_url,omitempty"` Database string `yaml:"database,omitempty"` Directory string `yaml:"directory,omitempty"` }
Click to show internal directories.
Click to hide internal directories.