2022-08-26 16:42:48 +02:00
|
|
|
package registry
|
|
|
|
|
|
|
|
//
|
|
|
|
// Registers the `web_connectivity@v0.5' experiment.
|
|
|
|
//
|
|
|
|
// See https://github.com/ooni/probe/issues/2237
|
|
|
|
//
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ooni/probe-cli/v3/internal/experiment/webconnectivity"
|
|
|
|
"github.com/ooni/probe-cli/v3/internal/model"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2022-08-31 12:44:46 +02:00
|
|
|
AllExperiments["web_connectivity@v0.5"] = &Factory{
|
2022-08-26 16:42:48 +02:00
|
|
|
build: func(config any) model.ExperimentMeasurer {
|
|
|
|
return webconnectivity.NewExperimentMeasurer(
|
|
|
|
config.(*webconnectivity.Config),
|
|
|
|
)
|
|
|
|
},
|
|
|
|
config: &webconnectivity.Config{},
|
|
|
|
interruptible: false,
|
|
|
|
inputPolicy: model.InputOrQueryBackend,
|
|
|
|
}
|
|
|
|
}
|