refactor(inputloader): better docs and naming (#265)

* refactor(inputloader): better docs and naming

Work done as part of https://github.com/ooni/probe/issues/1299.

* fix: correct a typo
This commit is contained in:
Simone Basso 2021-03-26 09:34:27 +01:00 committed by GitHub
commit 0115d6c470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 59 additions and 35 deletions

View file

@ -152,7 +152,7 @@ var experimentsByName = map[string]func(*Session) *ExperimentBuilder{
))
},
config: &httphostheader.Config{},
inputPolicy: InputOrQueryTestLists,
inputPolicy: InputOrQueryBackend,
}
},
@ -237,7 +237,7 @@ var experimentsByName = map[string]func(*Session) *ExperimentBuilder{
))
},
config: &sniblocking.Config{},
inputPolicy: InputOrQueryTestLists,
inputPolicy: InputOrQueryBackend,
}
},
@ -273,7 +273,7 @@ var experimentsByName = map[string]func(*Session) *ExperimentBuilder{
))
},
config: &tlstool.Config{},
inputPolicy: InputOrQueryTestLists,
inputPolicy: InputOrQueryBackend,
}
},
@ -309,7 +309,7 @@ var experimentsByName = map[string]func(*Session) *ExperimentBuilder{
))
},
config: &webconnectivity.Config{},
inputPolicy: InputOrQueryTestLists,
inputPolicy: InputOrQueryBackend,
}
},