cli: expose riseupvpn (#171)
This commit is contained in:
parent
a8070edc27
commit
9192ead36d
|
@ -44,6 +44,7 @@ var All = map[string]Group{
|
||||||
Label: "Circumvention Tools",
|
Label: "Circumvention Tools",
|
||||||
Nettests: []Nettest{
|
Nettests: []Nettest{
|
||||||
Psiphon{},
|
Psiphon{},
|
||||||
|
RiseupVPN{},
|
||||||
Tor{},
|
Tor{},
|
||||||
},
|
},
|
||||||
UnattendedOK: true,
|
UnattendedOK: true,
|
||||||
|
|
17
internal/nettests/riseupvpn.go
Normal file
17
internal/nettests/riseupvpn.go
Normal 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{""})
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user