mirror of
https://github.com/XIU2/CloudflareSpeedTest.git
synced 2026-04-18 04:06:57 +08:00
rebuild ip and rm old file
This commit is contained in:
@@ -45,8 +45,9 @@ func checkPingDefault() {
|
||||
}
|
||||
}
|
||||
|
||||
func NewPing(ips []*net.IPAddr) *Ping {
|
||||
func NewPing() *Ping {
|
||||
checkPingDefault()
|
||||
ips := loadIPRanges()
|
||||
return &Ping{
|
||||
wg: &sync.WaitGroup{},
|
||||
m: &sync.Mutex{},
|
||||
|
||||
Reference in New Issue
Block a user