Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is Netflix's speedtest client
func (*Client) MeasureDownload ¶
func (c *Client) MeasureDownload(ctx context.Context) ( downloadRate measurement.BitRate, err error, )
MeasureDownload measures download speed per second using Netflix's fast.com API
func (*Client) MeasureUpload ¶
MeasureUpload measures upload speed per second using Netflix's fast.com API
Click to show internal directories.
Click to hide internal directories.