Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultConfigURL = "https://mensura.cdn-apple.com/api/v1/gm/config"
View Source
const DefaultMaxRuntime = 20 * time.Second
Variables ¶
This section is empty.
Functions ¶
func FormatBitrate ¶
Types ¶
type MeasurementClientFactory ¶
type MeasurementClientFactory func( connectEndpoint string, singleConnection bool, disableKeepAlives bool, readCounters []N.CountFunc, writeCounters []N.CountFunc, ) (*http.Client, error)
func NewHTTP3MeasurementClientFactory ¶
func NewHTTP3MeasurementClientFactory(dialer N.Dialer) (MeasurementClientFactory, error)
func NewOptionalHTTP3Factory ¶
func NewOptionalHTTP3Factory(dialer N.Dialer, useHTTP3 bool) (MeasurementClientFactory, error)
type Result ¶
type URLs ¶
type URLs struct {
SmallHTTPSDownloadURL string `json:"small_https_download_url"`
LargeHTTPSDownloadURL string `json:"large_https_download_url"`
HTTPSUploadURL string `json:"https_upload_url"`
SmallDownloadURL string `json:"small_download_url"`
LargeDownloadURL string `json:"large_download_url"`
UploadURL string `json:"upload_url"`
}
Click to show internal directories.
Click to hide internal directories.