Documentation ¶
Overview ¶
Package psiphon implements the psiphon network experiment. This implements, in particular, v0.2.0 of the spec.
See https://github.com/ooni/spec/blob/master/nettests/ts-015-psiphon.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExperimentMeasurer ¶
func NewExperimentMeasurer(config Config) model.ExperimentMeasurer
NewExperimentMeasurer creates a new ExperimentMeasurer.
Types ¶
type Measurer ¶
Measurer is the psiphon measurer.
func (*Measurer) ExperimentName ¶
ExperimentName returns the experiment name
func (*Measurer) ExperimentVersion ¶
ExperimentVersion returns the experiment version
type SummaryKeys ¶
type SummaryKeys struct { BootstrapTime float64 `json:"bootstrap_time"` Failure string `json:"failure"` IsAnomaly bool `json:"-"` }
SummaryKeys contains summary keys for this experiment.
func (*SummaryKeys) Anomaly ¶ added in v0.28.0
func (sk *SummaryKeys) Anomaly() bool
Anomaly implements model.MeasurementSummaryKeys.
type TestKeys ¶
TestKeys contains the experiment's result.
func (*TestKeys) MeasurementSummaryKeys ¶ added in v0.28.0
func (tk *TestKeys) MeasurementSummaryKeys() model.MeasurementSummaryKeys
MeasurementSummaryKeys implements model.MeasurementSummaryKeysProvider.
Click to show internal directories.
Click to hide internal directories.