2022-08-16 23:30:23 +08:00
|
|
|
package configs
|
|
|
|
|
|
|
|
type System struct {
|
2023-02-10 18:07:29 +08:00
|
|
|
Port string `mapstructure:"port"`
|
|
|
|
DbFile string `mapstructure:"db_file"`
|
|
|
|
DbPath string `mapstructure:"db_path"`
|
|
|
|
LogPath string `mapstructure:"log_path"`
|
|
|
|
DataDir string `mapstructure:"data_dir"`
|
2023-02-14 11:28:38 +08:00
|
|
|
TmpDir string `mapstructure:"tmp_dir"`
|
2023-02-10 18:07:29 +08:00
|
|
|
Cache string `mapstructure:"cache"`
|
|
|
|
Backup string `mapstructure:"backup"`
|
|
|
|
AppRepoOwner string `mapstructure:"app_repo_owner"`
|
|
|
|
AppRepoName string `mapstructure:"app_repo_name"`
|
2023-02-13 11:04:14 +08:00
|
|
|
EncryptKey string `mapstructure:"encrypt_key"`
|
2023-02-13 14:28:04 +08:00
|
|
|
BaseDir string `mapstructure:"base_dir"`
|
2023-02-14 11:17:02 +08:00
|
|
|
Mode string `mapstructure:"mode"`
|
2022-08-16 23:30:23 +08:00
|
|
|
}
|