修改http客户端功能

This commit is contained in:
ayflying
2025-12-24 15:33:08 +08:00
parent 6b304efc0e
commit 85d14a9489
8 changed files with 506 additions and 217 deletions

View File

@@ -73,9 +73,7 @@ var (
//filename := "linux_amd64/" + Filename
//filename := path.Join(Version, "linux_amd64", Filename)
client := g.Client()
client.SetTimeout(time.Minute)
client.SetDiscovery(nil)
client := g.Client().SetTimeout(time.Minute)
//循环服务器,推送更新
for _, v := range list {