mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-10-06 07:47:17 +08:00
19 lines
361 B
Go
19 lines
361 B
Go
package upstreams
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/oneclickvirt/UnlockTests/uts"
|
|
bgptools "github.com/oneclickvirt/backtrace/bgptools"
|
|
backtrace "github.com/oneclickvirt/backtrace/bk"
|
|
)
|
|
|
|
func UpstreamsCheck(ip string) {
|
|
if ip != "" {
|
|
if result, err := bgptools.GetPoPInfo(ip); err == nil {
|
|
fmt.Print(result.Result)
|
|
}
|
|
}
|
|
backtrace.BackTrace(uts.IPV6)
|
|
}
|