Documentation ¶
Overview ¶
Package tlstool contains a TLS tool that we are currently using for running quick and dirty experiments. This tool will change without notice and may be removed without notice.
Caveats ¶
In particular, this experiment MAY panic when passed incorrect input. This is acceptable because this is not production ready code.
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 Config ¶
type Config struct { Delay int64 `ooni:"Milliseconds to wait between writes"` SNI string `ooni:"Force using the specified SNI"` }
Config contains the experiment configuration.
type ExperimentKeys ¶
type ExperimentKeys struct {
Failure *string `json:"failure"`
}
ExperimentKeys contains the specific experiment results.
type Measurer ¶
type Measurer struct {
// contains filtered or unexported fields
}
Measurer performs the measurement.
func (Measurer) ExperimentName ¶
ExperimentName implements ExperimentMeasurer.ExperiExperimentName.
func (Measurer) ExperimentVersion ¶
ExperimentVersion implements ExperimentMeasurer.ExperimentVersion.
type TestKeys ¶
type TestKeys struct {
Experiment map[string]*ExperimentKeys `json:"experiment"`
}
TestKeys contains the experiment results.