a02052fb0c
See https://github.com/ooni/probe/issues/1394 Ok @hellais @FedericoCeratto
14 lines
320 B
Go
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{""})
|
|
}
|