mirror of
https://github.com/oneclickvirt/nt3.git
synced 2026-04-23 00:07:05 +08:00
feat: 尝试直接捕捉输出内容,方便后续并发执行请求
This commit is contained in:
@@ -49,6 +49,9 @@ func main() {
|
||||
}
|
||||
result := nt.TraceRoute(language, location, checkType)
|
||||
for _, res := range result {
|
||||
if strings.Contains(res, "- ICMP") {
|
||||
fmt.Print(res)
|
||||
}
|
||||
fmt.Println(res)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user