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 NewExperiment ¶
func NewExperiment( sess *session.Session, config Config, ) *experiment.Experiment
NewExperiment creates a new experiment.
Types ¶
type Config ¶
type Config struct {
// WorkDir is the directory where Psiphon should store
// its configuration database.
WorkDir string `ooni:"experiment working directory"`
}
Config contains the experiment's configuration.
type TestKeys ¶
type TestKeys struct {
Agent string `json:"agent"`
BootstrapTime float64 `json:"bootstrap_time"`
Failure *string `json:"failure"`
MaxRuntime float64 `json:"max_runtime"`
Queries oonidatamodel.DNSQueriesList `json:"queries"`
Requests oonidatamodel.RequestList `json:"requests"`
SOCKSProxy string `json:"socksproxy"`
TLSHandshakes oonidatamodel.TLSHandshakesList `json:"tls_handshakes"`
}
TestKeys contains the experiment's result.
This is what will end up into the Measurement.TestKeys field when you run this experiment.
Click to show internal directories.
Click to hide internal directories.