Documentation
¶
Overview ¶
Package dash contains the dash network experiment. This file in particular is a pure-Go implementation of this test.
Spec: https://github.com/ooni/spec/blob/master/nettests/ts-021-dash.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExperimentMeasurer ¶ added in v0.8.0
func NewExperimentMeasurer(config Config) model.ExperimentMeasurer
NewExperimentMeasurer creates a new ExperimentMeasurer.
Types ¶
type Config ¶
type Config struct {
Tunnel string `ooni:"Run experiment over a tunnel, e.g. psiphon"`
}
Config contains the experiment config.
type ServerInfo ¶ added in v0.11.0
ServerInfo contains information on the selected server
This is currently an extension to the DASH specification until the data format of the new mlab locate is clear.
type Simple ¶ added in v0.10.0
type Simple struct {
ConnectLatency float64 `json:"connect_latency"`
MedianBitrate int64 `json:"median_bitrate"`
MinPlayoutDelay float64 `json:"min_playout_delay"`
}
Simple contains the experiment total summary
type TestKeys ¶ added in v0.10.0
type TestKeys struct {
BootstrapTime float64 `json:"bootstrap_time,omitempty"`
Server ServerInfo `json:"server"`
Simple Simple `json:"simple"`
Failure *string `json:"failure"`
ReceiverData []clientResults `json:"receiver_data"`
SOCKSProxy string `json:"socksproxy,omitempty"`
Tunnel string `json:"tunnel,omitempty"`
}
TestKeys contains the test keys
Click to show internal directories.
Click to hide internal directories.