23 lines
499 B
Go
23 lines
499 B
Go
package registry
|
|
|
|
//
|
|
// Registers the `tlsmiddlebox' experiment.
|
|
//
|
|
|
|
import (
|
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/tlsmiddlebox"
|
|
"github.com/ooni/probe-cli/v3/internal/model"
|
|
)
|
|
|
|
func init() {
|
|
AllExperiments["tlsmiddlebox"] = &Factory{
|
|
build: func(config interface{}) model.ExperimentMeasurer {
|
|
return tlsmiddlebox.NewExperimentMeasurer(
|
|
*config.(*tlsmiddlebox.Config),
|
|
)
|
|
},
|
|
config: &tlsmiddlebox.Config{},
|
|
inputPolicy: model.InputStrictlyRequired,
|
|
}
|
|
}
|