ooni-probe-cli/cmd/ooniprobe/internal/nettests/vanillator.go

17 lines
332 B
Go
Raw Normal View History

package nettests
// VanillaTor test implementation
type VanillaTor struct {
}
// Run starts the test
func (h VanillaTor) Run(ctl *Controller) error {
builder, err := ctl.Session.NewExperimentBuilder("vanilla_tor")
if err != nil {
return err
}
return ctl.Run(builder, []string{""})
}
func (h VanillaTor) onlyBackground() {}