ooni-probe-cli/cmd/ooniprobe/internal/nettests/stunreachability.go
2021-03-11 19:35:22 +01:00

14 lines
320 B
Go

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