ooni-probe-cli/nettests/groups.go

47 lines
761 B
Go
Raw Normal View History

2019-12-02 16:57:55 +01:00
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": {
2019-12-02 16:57:55 +01:00
Label: "Websites",
Nettests: []Nettest{
WebConnectivity{},
},
},
"performance": {
2019-12-02 16:57:55 +01:00
Label: "Performance",
Nettests: []Nettest{
Dash{},
NDT{},
},
},
"middlebox": {
2019-12-02 16:57:55 +01:00
Label: "Middleboxes",
Nettests: []Nettest{
HTTPInvalidRequestLine{},
HTTPHeaderFieldManipulation{},
},
},
"im": {
2019-12-02 16:57:55 +01:00
Label: "Instant Messaging",
Nettests: []Nettest{
FacebookMessenger{},
Telegram{},
WhatsApp{},
},
},
"circumvention": {
Label: "Circumvention Tools",
Nettests: []Nettest{
Psiphon{},
Tor{},
},
},
2019-12-02 16:57:55 +01:00
}