测试服务器地址

This commit is contained in:
钱纯净
2024-11-30 19:44:48 +08:00
parent beb97e16fa
commit 1c2f1c9191

View File

@@ -0,0 +1,22 @@
package main
import (
"github.com/injoyai/logs"
"github.com/injoyai/tdx"
)
func main() {
for _, v := range tdx.Hosts {
c, err := tdx.Dial(v)
if err != nil {
logs.Errf("[%s:7709] %v", v, err)
continue
}
c.Close()
logs.Debugf("[%s:7709] 连接成功...\n", v)
}
}