ooni-probe-cli/cmd/ooniprobe/internal/config/settings.go

19 lines
473 B
Go
Raw Normal View History

package config
// Sharing settings
type Sharing struct {
2020-11-13 18:42:10 +01:00
UploadResults bool `json:"upload_results"`
}
// Advanced settings
type Advanced struct {
SendCrashReports bool `json:"send_crash_reports"`
}
// Nettests related settings
type Nettests struct {
WebsitesMaxRuntime int64 `json:"websites_max_runtime"`
WebsitesURLLimit int64 `json:"websites_url_limit"`
WebsitesEnabledCategoryCodes []string `json:"websites_enabled_category_codes"`
}