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