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

16 lines
286 B
Go
Raw Normal View History

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