2022-08-17 10:57:03 +02:00
|
|
|
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() {
|
2022-08-31 12:44:46 +02:00
|
|
|
AllExperiments["dash"] = &Factory{
|
2022-08-17 10:57:03 +02:00
|
|
|
build: func(config interface{}) model.ExperimentMeasurer {
|
|
|
|
return dash.NewExperimentMeasurer(
|
|
|
|
*config.(*dash.Config),
|
|
|
|
)
|
|
|
|
},
|
|
|
|
config: &dash.Config{},
|
|
|
|
interruptible: true,
|
|
|
|
inputPolicy: model.InputNone,
|
|
|
|
}
|
|
|
|
}
|