2021-03-08 13:38:34 +01:00
|
|
|
package nettests
|
|
|
|
|
|
|
|
// STUNReachability nettest implementation.
|
|
|
|
type STUNReachability struct{}
|
|
|
|
|
|
|
|
// Run starts the nettest.
|
|
|
|
func (n STUNReachability) Run(ctl *Controller) error {
|
2021-03-11 19:35:22 +01:00
|
|
|
builder, err := ctl.Session.NewExperimentBuilder("stunreachability")
|
2021-03-08 13:38:34 +01:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return ctl.Run(builder, []string{""})
|
|
|
|
}
|