spec

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 1 Imported by: 3

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

type SubtestKind added in v0.7.0

type SubtestKind string

SubtestKind indicates the subtest kind

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL