Add support for parsing the enabled websites category codes

This implements: https://github.com/ooni/probe/issues/1012
This commit is contained in:
Arturo Filastò
2020-02-12 15:07:19 +01:00
parent 028ff6ed63
commit 1f94b20be5
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -51,4 +51,5 @@ type Advanced struct {
// Nettests related settings
type Nettests struct {
WebsitesURLLimit int64 `json:"websites_url_limit"`
WebsitesEnabledCategoryCodes []string `json:"websites_enabled_category_codes"`
}