Documentation
¶
Index ¶
- func CalcMbps(start time.Time, finish time.Time, numbytes int) (mbps float64)
- func DownloadTest(conn net.Conn, seedbytes int, numseconds int) (results float64)
- func GetBestServer() (bestserver server.Server, err error)
- func PingTest(conn net.Conn, numtests int) (results int64)
- func UploadTest(conn net.Conn, seedbytes int, numseconds int) (results float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadTest ¶
DownloadTest runs download tests through numbytes until a download test takes more than numseconds
func GetBestServer ¶
GetBestServer gets the first in the list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.