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