cli: expose riseupvpn (#171)

This commit is contained in:
cyBerta
2020-12-07 17:14:48 +01:00
committed by GitHub
parent a8070edc27
commit 9192ead36d
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -44,6 +44,7 @@ var All = map[string]Group{
Label: "Circumvention Tools",
Nettests: []Nettest{
Psiphon{},
RiseupVPN{},
Tor{},
},
UnattendedOK: true,
+17
View File
@@ -0,0 +1,17 @@
package nettests
// RiseupVPN test implementation
type RiseupVPN struct {
}
// Run starts the test
func (h RiseupVPN) Run(ctl *Controller) error {
builder, err := ctl.Session.NewExperimentBuilder(
"riseupvpn",
)
if err != nil {
return err
}
return ctl.Run(builder, []string{""})
}