2024-07-23 14:48:37 +08:00
|
|
|
package configs
|
|
|
|
|
|
|
|
type System struct {
|
2024-08-14 10:15:55 +08:00
|
|
|
MasterAddr string `mapstructure:"master_addr"`
|
|
|
|
MasterToken string `mapstructure:"master_token"`
|
|
|
|
DbFile string `mapstructure:"db_agent_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"`
|
|
|
|
IsDemo bool `mapstructure:"is_demo"`
|
|
|
|
AppRepo string `mapstructure:"app_repo"`
|
2024-07-23 14:48:37 +08:00
|
|
|
}
|