23 lines
475 B
Go
23 lines
475 B
Go
package registry
|
|
|
|
//
|
|
// Registers the `quicping' experiment.
|
|
//
|
|
|
|
import (
|
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/quicping"
|
|
"github.com/ooni/probe-cli/v3/internal/model"
|
|
)
|
|
|
|
func init() {
|
|
allexperiments["quicping"] = &Factory{
|
|
build: func(config interface{}) model.ExperimentMeasurer {
|
|
return quicping.NewExperimentMeasurer(
|
|
*config.(*quicping.Config),
|
|
)
|
|
},
|
|
config: &quicping.Config{},
|
|
inputPolicy: model.InputStrictlyRequired,
|
|
}
|
|
}
|