#go mod init main
go build httpstatus.go
直接下载编译releases
httpstatus -h example.com #(域名)
| url | IPv4 | httpv4 | httpsv4 | http2v4 | IPv6 | httpipv6 | httpsv6 | http2v6 |
|---|---|---|---|---|---|---|---|---|
| example.com | 127.0.0.1 | 1 | 1 | 1 | ::1: | 1 | 1 | 1 |
结果:0为不能到达,<9为正常,9为出错。
| Name | Name | Last commit date | ||
|---|---|---|---|---|
#go mod init main
go build httpstatus.go
直接下载编译releases
httpstatus -h example.com #(域名)
| url | IPv4 | httpv4 | httpsv4 | http2v4 | IPv6 | httpipv6 | httpsv6 | http2v6 |
|---|---|---|---|---|---|---|---|---|
| example.com | 127.0.0.1 | 1 | 1 | 1 | ::1: | 1 | 1 | 1 |
结果:0为不能到达,<9为正常,9为出错。