Skip to content

abanger/httpstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

检测网站IPv4/v6的HTTP、HTTPS、HTTP2服务状态

使用说明

编译

#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为出错。