tcping

ping over a tcp connection

Github星跟蹤圖

Build Status

tcping

tcping is like tcping.exe, but written with Golang.

Usage

  • The default count of ping is 4.

  • If the port is omitted, the default port is 80.

  • The default interval of ping is 1s.

  • The default timeout of ping is 1s.

ping tcp

> tcping google.com 443
Ping tcp://google.com:443 - Connected - time=15.425732ms
Ping tcp://google.com:443 - Connected - time=2.628025ms
Ping tcp://google.com:443 - Connected - time=2.400356ms
Ping tcp://google.com:443 - Connected - time=1.967587ms

Ping statistics tcp://google.com:443
	4 probes sent.
	4 successful, 0 failed.
Approximate trip times:
	Minimum = 1.967587ms, Maximum = 15.425732ms, Average = 5.605425ms

ping http

> tcping -H hui.lu
Ping http://hui.lu:80 - http is open - time=232.880173ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=60.096446ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=56.750403ms method=GET status=200 bytes=10317
Ping http://hui.lu:80 - http is open - time=57.886907ms method=GET status=200 bytes=10317

Ping statistics http://hui.lu:80
	4 probes sent.
	4 successful, 0 failed.
Approximate trip times:
	Minimum = 56.750403ms, Maximum = 232.880173ms, Average = 101.903482ms

主要指標

概覽
名稱與所有者cloverstd/tcping
主編程語言Go
編程語言Go (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2017-06-25 12:55:56
推送於2023-12-05 07:55:09
最后一次提交2022-09-04 10:45:52
發布數2
最新版本名稱v0.1.1 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數842
關注者數18
派生數168
提交數26
已啟用問題?
問題數20
打開的問題數10
拉請求數14
打開的拉請求數2
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?