Documentation ¶
Index ¶
- func DiscoverGateway() (net.IP, error)
- func DiscoverMtu() (int, error)
- func End2EndDownloadSpeedTest() (*gspeed.Speed, error)
- func End2EndUploadSpeedTest() (*gspeed.Speed, error)
- func TcpingOnline(host string, port int, timeout time.Duration) (opened bool, err error)
- func WanDownloadSpeedTest() (gspeed.Speed, error)
- func WanUploadSpeedTest() (gspeed.Speed, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverGateway ¶
func DiscoverMtu ¶
func End2EndUploadSpeedTest ¶
测试端到端的网速 https://github.com/blang/speedtest https://github.com/DhruvKalaria/SpeedTest https://github.com/itimofeev/netspeed
func TcpingOnline ¶
func WanDownloadSpeedTest ¶
func WanUploadSpeedTest ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.