Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( URL = defaultURL Timeout = defaultTimeout Disable = defaultDisableDownload TestCount = defaultTestNum MinSpeed = defaultMinSpeed )
View Source
var ( Httping bool HttpingStatusCode int HttpingCFColo string HttpingCFColomap *sync.Map OutRegexp = regexp.MustCompile(`[A-Z]{3}`) )
View Source
var ( // TestAll test all ip TestAll = false // IPFile is the filename of IP Rangs IPFile = defaultInputFile IPText string )
View Source
var ( Routines = defaultRoutines TCPPort int = defaultPort PingTimes int = defaultPingTimes )
Functions ¶
func InitRandSeed ¶
func InitRandSeed()
func MapColoMap ¶
func TestDownloadSpeed ¶
func TestDownloadSpeed(ipSet utils.PingDelaySet, progress utils.Progress) (speedSet utils.DownloadSpeedSet)
Types ¶
Click to show internal directories.
Click to hide internal directories.