fix: import path should be github.com/ooni/probe-cli/v3 (#200)
See https://github.com/ooni/probe/issues/1335#issuecomment-771499511
This commit is contained in:
parent
faa9308b1e
commit
b1ce300c8d
68 changed files with 86 additions and 85 deletions
52
cmd/ooniprobe/internal/nettests/groups.go
Normal file
52
cmd/ooniprobe/internal/nettests/groups.go
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package nettests
|
||||
|
||||
// Group is a group of nettests
|
||||
type Group struct {
|
||||
Label string
|
||||
Nettests []Nettest
|
||||
UnattendedOK bool
|
||||
}
|
||||
|
||||
// All contains all the nettests that can be run by the user
|
||||
var All = map[string]Group{
|
||||
"websites": {
|
||||
Label: "Websites",
|
||||
Nettests: []Nettest{
|
||||
WebConnectivity{},
|
||||
},
|
||||
UnattendedOK: true,
|
||||
},
|
||||
"performance": {
|
||||
Label: "Performance",
|
||||
Nettests: []Nettest{
|
||||
Dash{},
|
||||
NDT{},
|
||||
},
|
||||
},
|
||||
"middlebox": {
|
||||
Label: "Middleboxes",
|
||||
Nettests: []Nettest{
|
||||
HTTPInvalidRequestLine{},
|
||||
HTTPHeaderFieldManipulation{},
|
||||
},
|
||||
UnattendedOK: true,
|
||||
},
|
||||
"im": {
|
||||
Label: "Instant Messaging",
|
||||
Nettests: []Nettest{
|
||||
FacebookMessenger{},
|
||||
Telegram{},
|
||||
WhatsApp{},
|
||||
},
|
||||
UnattendedOK: true,
|
||||
},
|
||||
"circumvention": {
|
||||
Label: "Circumvention Tools",
|
||||
Nettests: []Nettest{
|
||||
Psiphon{},
|
||||
RiseupVPN{},
|
||||
Tor{},
|
||||
},
|
||||
UnattendedOK: true,
|
||||
},
|
||||
}
|
||||
Loading…
Reference in a new issue