2022-08-16 23:30:23 +08:00
|
|
|
package configs
|
|
|
|
|
|
|
|
type System struct {
|
2023-05-15 22:40:05 +08:00
|
|
|
Port string `mapstructure:"port"`
|
|
|
|
SSL string `mapstructure:"ssl"`
|
|
|
|
DbFile string `mapstructure:"db_file"`
|
|
|
|
DbPath string `mapstructure:"db_path"`
|
|
|
|
LogPath string `mapstructure:"log_path"`
|
|
|
|
DataDir string `mapstructure:"data_dir"`
|
|
|
|
TmpDir string `mapstructure:"tmp_dir"`
|
|
|
|
Cache string `mapstructure:"cache"`
|
|
|
|
Backup string `mapstructure:"backup"`
|
|
|
|
EncryptKey string `mapstructure:"encrypt_key"`
|
|
|
|
BaseDir string `mapstructure:"base_dir"`
|
|
|
|
Mode string `mapstructure:"mode"`
|
|
|
|
RepoUrl string `mapstructure:"repo_url"`
|
|
|
|
Version string `mapstructure:"version"`
|
|
|
|
Username string `mapstructure:"username"`
|
|
|
|
Password string `mapstructure:"password"`
|
|
|
|
Entrance string `mapstructure:"entrance"`
|
|
|
|
IsDemo bool `mapstructure:"is_demo"`
|
|
|
|
AppRepo string `mapstructure:"app_repo"`
|
2023-05-13 12:20:29 +08:00
|
|
|
ChangeUserInfo bool `mapstructure:"change_user_info"`
|
2023-05-19 21:47:46 +08:00
|
|
|
AllowIPs string `mapstructure:"allow_ips"`
|
|
|
|
BindDomain string `mapstructure:"bind_domain"`
|
2022-08-16 23:30:23 +08:00
|
|
|
}
|