mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-25 06:56:32 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| package configs
 | |
| 
 | |
| type System struct {
 | |
| 	Port               string `mapstructure:"port"`
 | |
| 	Ipv6               string `mapstructure:"ipv6"`
 | |
| 	BindAddress        string `mapstructure:"bindAddress"`
 | |
| 	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"`
 | |
| 	Language           string `mapstructure:"language"`
 | |
| 	IsDemo             bool   `mapstructure:"is_demo"`
 | |
| 	IsIntl             bool   `mapstructure:"is_intl"`
 | |
| 	AppRepo            string `mapstructure:"app_repo"`
 | |
| 	ChangeUserInfo     string `mapstructure:"change_user_info"`
 | |
| 	OneDriveID         string `mapstructure:"one_drive_id"`
 | |
| 	OneDriveSc         string `mapstructure:"one_drive_sc"`
 | |
| 	ApiInterfaceStatus string `mapstructure:"api_interface_status"`
 | |
| 	ApiKey             string `mapstructure:"api_key"`
 | |
| 	IpWhiteList        string `mapstructure:"ip_white_list"`
 | |
| }
 |