package
Version:
v0.0.0-...-4ef7734
Opens a new window with list of versions in this module.
Published: Mar 19, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BPS - bytes per second
BPS returns the number of bytes per second
Float returns the number of bytes per second
GBPS returns the number of gigabytes per second
KBPS returns the number of kilobytes per second
MBPS returns the number of megabytes per second
type Rater interface {
Add(int64)
Rate() BPS
}
Rater tracks download speed
SmoothRate returns a smooth rater that tracks the speed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.