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

23 lines
475 B
Go
Raw Normal View History

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