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,
	}
}
