Documentation
¶
Overview ¶
Package spec contains constants defined in the ndt7 specification.
Index ¶
Constants ¶
View Source
const ( // SubtestDownload is a download subtest SubtestDownload = SubtestKind("download") // SubtestUpload is a upload subtest SubtestUpload = SubtestKind("upload") )
View Source
const DefaultRuntime = 10 * time.Second
DefaultRuntime is the default runtime of a subtest
View Source
const DownloadURLPath = "/ndt/v7/download"
DownloadURLPath selects the download subtest.
View Source
const MaxRuntime = 15 * time.Second
MaxRuntime is the maximum runtime of a subtest
View Source
const MinMaxMessageSize = 1 << 17
MinMaxMessageSize is the minimum value of the maximum message size that an implementation MAY want to configure. Messages smaller than this threshold MUST always be accepted by an implementation.
View Source
const MinMeasurementInterval = 250 * time.Millisecond
MinMeasurementInterval is the minimum interval between measurements.
View Source
const SecWebSocketProtocol = "net.measurementlab.ndt.v7"
SecWebSocketProtocol is the WebSocket subprotocol used by ndt7.
View Source
const UploadURLPath = "/ndt/v7/upload"
UploadURLPath selects the upload subtest.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.