refactor(miniooni): divide et impera (#912)

This diff splits miniooni's implementation in smaller and more
easily tractable blocks ahead of future refactoring.

I'm trying to make `miniooni oonirun -i URL` as possible as
`miniooni -i URL oonirun`, because users typically expect this
kind of flexibity from modern Unix commands.

Part of https://github.com/ooni/probe/issues/2184
This commit is contained in:
Simone Basso 2022-08-31 10:20:04 +02:00 committed by GitHub
commit 7daa686c68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 351 additions and 247 deletions

View file

@ -1,11 +0,0 @@
// Command miniooni is a simple binary for research and QA purposes
// with a CLI interface similar to MK and OONI Probe v2.x.
package main
//
// Main function
//
func main() {
Main()
}