dash

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: BSD-3-Clause Imports: 19 Imported by: 0

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

type ServerInfo struct {
	Hostname string `json:"hostname"`
	Site     string `json:"site,omitempty"`
}

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

Jump to

Keyboard shortcuts

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