mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
56 lines
922 B
Go
56 lines
922 B
Go
package main
|
|
|
|
import (
|
|
"github.com/injoyai/logs"
|
|
"github.com/injoyai/tdx"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
|
|
ips := []string{
|
|
"124.71.187.122",
|
|
"122.51.120.217",
|
|
"111.229.247.189",
|
|
"124.70.199.56",
|
|
"124.70.176.52",
|
|
"124.70.133.119",
|
|
"123.60.84.66",
|
|
"123.60.73.44",
|
|
"123.60.70.228",
|
|
"123.60.186.45",
|
|
"123.40.164.122",
|
|
"123.249.15.60",
|
|
"122.51.232.182",
|
|
"121.36.81.195",
|
|
"121.36.54.217",
|
|
"121.36.225.169",
|
|
"120.46.186.223",
|
|
"119.97.185.59",
|
|
"118.25.98.114",
|
|
"116.205.183.150",
|
|
"116.205.171.132",
|
|
"116.205.163.254",
|
|
"111.230.186.52",
|
|
"110.41.4.4",
|
|
"110.41.2.72",
|
|
"110.41.154.219",
|
|
"110.41.147.114",
|
|
}
|
|
|
|
for _, v := range ips {
|
|
start := time.Now()
|
|
c, err := tdx.Dial(v + ":7709")
|
|
if err != nil {
|
|
logs.Err(err)
|
|
continue
|
|
}
|
|
logs.Debug(v, ":", time.Now().Sub(start))
|
|
c.Close()
|
|
}
|
|
|
|
//c, err := tdx.Dial("124.70.199.56:7709")
|
|
//logs.PanicErr(err)
|
|
//<-c.Done()
|
|
}
|