es地址切换

This commit is contained in:
97694731 2026-04-18 17:16:06 +08:00
parent 7f14b6cf53
commit 1db0342973

View File

@ -190,9 +190,9 @@ func main() {
// "7AYdoW=mn3yHZ*3A=Z1x", // "7AYdoW=mn3yHZ*3A=Z1x",
//) //)
esClient, err := es.NewESClient( esClient, err := es.NewESClient(
[]string{"http://36.212.1.63:9200"}, []string{"http://36.212.12.92:9527"},
"elastic", "elastic",
"zDzSXel3PFwx9=6Ybmqva", "+Tz5qR_KushZ-bPgZ_H-",
) )
if err != nil { if err != nil {