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

24 lines
466 B
Go
Raw Permalink Normal View History

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