2022-08-16 15:30:23 +00:00
|
|
|
package configs
|
|
|
|
|
|
|
|
type System struct {
|
2023-02-17 07:13:55 +00: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"`
|
|
|
|
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"`
|
2023-02-21 07:19:12 +00:00
|
|
|
IsDemo bool `mapstructure:"is_demo"`
|
2022-08-16 15:30:23 +00:00
|
|
|
}
|