Start laying out the structure of gooni
This commit is contained in:
commit
7327e1ff7f
22 changed files with 529 additions and 0 deletions
29
config/nettest_groups.go
Normal file
29
config/nettest_groups.go
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
package config
|
||||
|
||||
type websiteSettings struct {
|
||||
EnabledCategories []string `json:"enabled_categories"`
|
||||
}
|
||||
|
||||
type instantMessagingSettings struct {
|
||||
EnabledTests []string `json:"enabled_tests"`
|
||||
}
|
||||
|
||||
type performanceSettings struct {
|
||||
EnabledTests []string `json:"enabled_tests"`
|
||||
NDTServer string `json:"ndt_server"`
|
||||
NDTServerPort string `json:"ndt_server_port"`
|
||||
DashServer string `json:"dash_server"`
|
||||
DashServerPort string `json:"dash_server_port"`
|
||||
}
|
||||
|
||||
type middleboxSettings struct {
|
||||
EnabledTests []string `json:"enabled_tests"`
|
||||
}
|
||||
|
||||
// NettestGroups related settings
|
||||
type NettestGroups struct {
|
||||
Websites websiteSettings `json:"websites"`
|
||||
InstantMessaging instantMessagingSettings `json:"instant_messaging"`
|
||||
Performance performanceSettings `json:"performance"`
|
||||
Middlebox middleboxSettings `json:"middlebox"`
|
||||
}
|
||||
Loading…
Reference in a new issue