refactor(ooni): introduce interfaces for testability

This commit is contained in:
Simone Basso 2020-11-13 20:07:30 +01:00
commit fa803300bb
13 changed files with 129 additions and 70 deletions

View file

@ -57,7 +57,7 @@ func init() {
return nil, err
}
if *isBatch {
probe.IsBatch = true
probe.SetIsBatch(true)
}
return probe, nil