|
@@ -11,7 +11,7 @@ type Config struct {
|
|
|
EsClient EsClient `mapstructure:"es_client" json:"es_client" yaml:"es_client"`
|
|
|
Mongo Mongo `mapstructure:"mongo" json:"mongo" yaml:"mongo"`
|
|
|
EtaChartLib EtaChartLib `mapstructure:"eta_chart_lib" json:"eta_chart_lib" yaml:"eta_chart_lib"`
|
|
|
- ChromePath string `mapstructure:"chrome-path" json:"chrome-path" yaml:"chrome-path" description:"chrome路径"`
|
|
|
+ System System `mapstructure:"system" json:"system" yaml:"system"`
|
|
|
}
|
|
|
|
|
|
// Serve gin服务配置
|
|
@@ -107,3 +107,7 @@ type EtaChartLib struct {
|
|
|
AppNameEn string `mapstructure:"app_name_en" json:"app_name_en" yaml:"app_name_en" description:"项目名称"`
|
|
|
Md5Key string `mapstructure:"md5_key" json:"md5_key" yaml:"md5_key" description:"项目密钥"`
|
|
|
}
|
|
|
+
|
|
|
+type System struct {
|
|
|
+ ChromePath string `mapstructure:"chrome-path" json:"chrome-path" yaml:"chrome-path" description:"chrome路径"`
|
|
|
+}
|