package globals import "sync" type Config struct { // general LogLevel string `json:"logLevel"` LogFilePath string `json:"logFilePath"` // latex LatexEngine string `json:"latexEngine"` LatexSourceFilePath string `json:"latexSourceFilePath"` LatexOutputPath string `json:"latexOutputPath"` // webserver WebserverDomain string `json:"webserverDomain"` WebserverSecure bool `json:"webserverSecure"` CertificatePath string `json:"certificatePath"` CertificateKeyPath string `json:"certificateKeyPath"` // to prevent competing compiles, not actual configuration ExecutionLock sync.Mutex } var AppConfig Config