refactor: casdoor settings

This commit is contained in:
0xJacky 2023-12-03 11:21:28 +08:00
parent ed72b67300
commit 37fa8b899f
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
12 changed files with 1827 additions and 544 deletions

16
settings/nginx.go Normal file
View file

@ -0,0 +1,16 @@
package settings
type Nginx struct {
AccessLogPath string `json:"access_log_path"`
ErrorLogPath string `json:"error_log_path"`
ConfigDir string `json:"config_dir"`
PIDPath string `json:"pid_path"`
TestConfigCmd string `json:"test_config_cmd"`
ReloadCmd string `json:"reload_cmd"`
RestartCmd string `json:"restart_cmd"`
}
var NginxSettings = Nginx{
AccessLogPath: "",
ErrorLogPath: "",
}