config/config.go
@@ -8,6 +8,9 @@ type server struct { EsServerIp string `mapstructure: "esServerIp"` EsServerPort string `mapstructure: "esServerPort"` CoreBaseUnit string `mapstructure: "coreBaseUnit"` TimeOut string `mapstructure: "timeOut"` ScriptPath string `mapstructure: scriptPath` } type elastic struct {