b4934b1619
* nettests/groups.go: remove redundant struct names * go.mod go.sum: update deps except probe-engine * Update to ooni/probe-engine@e768161f91 The API has changed. Methods that used to change bits of the session have been removed. Now the session is more immutable than before. As such, we need to completely fill the config before using it. * Set IncludeCountry to always true Co-authored-by: Arturo Filastò <arturo@filasto.net>
47 lines
761 B
Go
47 lines
761 B
Go
package nettests
|
|
|
|
// NettestGroup base structure
|
|
type NettestGroup struct {
|
|
Label string
|
|
Nettests []Nettest
|
|
}
|
|
|
|
// NettestGroups that can be run by the user
|
|
var NettestGroups = map[string]NettestGroup{
|
|
"websites": {
|
|
Label: "Websites",
|
|
Nettests: []Nettest{
|
|
WebConnectivity{},
|
|
},
|
|
},
|
|
"performance": {
|
|
Label: "Performance",
|
|
Nettests: []Nettest{
|
|
Dash{},
|
|
NDT{},
|
|
},
|
|
},
|
|
"middlebox": {
|
|
Label: "Middleboxes",
|
|
Nettests: []Nettest{
|
|
HTTPInvalidRequestLine{},
|
|
HTTPHeaderFieldManipulation{},
|
|
},
|
|
},
|
|
"im": {
|
|
Label: "Instant Messaging",
|
|
Nettests: []Nettest{
|
|
FacebookMessenger{},
|
|
Telegram{},
|
|
WhatsApp{},
|
|
},
|
|
},
|
|
"circumvention": {
|
|
Label: "Circumvention Tools",
|
|
Nettests: []Nettest{
|
|
Psiphon{},
|
|
Tor{},
|
|
},
|
|
},
|
|
}
|