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:
parent
c94721d9e5
commit
0115d6c470
9 changed files with 59 additions and 35 deletions
|
|
@ -16,12 +16,12 @@ import (
|
|||
type InputPolicy string
|
||||
|
||||
const (
|
||||
// InputOrQueryTestLists indicates that the experiment requires
|
||||
// InputOrQueryBackend indicates that the experiment requires
|
||||
// external input to run and that this kind of input is URLs
|
||||
// from the citizenlab/test-lists repository. If this input
|
||||
// not provided to the experiment, then the code that runs the
|
||||
// experiment is supposed to fetch from URLs from OONI's backends.
|
||||
InputOrQueryTestLists = InputPolicy("or_query_test_lists")
|
||||
InputOrQueryBackend = InputPolicy("or_query_backend")
|
||||
|
||||
// InputStrictlyRequired indicates that the experiment
|
||||
// requires input and we currently don't have an API for
|
||||
|
|
|
|||
Loading…
Reference in a new issue