14 lines
321 B
Go
14 lines
321 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("stun_reachability")
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
return ctl.Run(builder, []string{""})
|
||
|
}
|