ooni-probe-cli/internal/registry/vanillator.go

23 lines
477 B
Go
Raw Normal View History

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