doc: add tutorial on how to use netxlite (#519)

The main tutorial will be the one at https://github.com/ooni/probe-cli/pull/506, but
it's useful to also document the primitives used by measurex.

So, here's the companion tutorial, which explains how to use the
features in netxlite to perform measurements.

This work is part of https://github.com/ooni/ooni.org/issues/361.
This commit is contained in:
Simone Basso
2021-09-28 18:15:38 +02:00
committed by GitHub
parent 1fd2b1fd53
commit 9ef4d9df7d
20 changed files with 2803 additions and 0 deletions
+13
View File
@@ -90,6 +90,19 @@ func gentorsf() {
gen(path.Join(prefix, "chapter04"), "torsf.go")
}
// gennetxlite generates the netxlite chapters.
func gennetxlite() {
prefix := path.Join(".", "netxlite")
gen(path.Join(prefix, "chapter01"), "main.go")
gen(path.Join(prefix, "chapter02"), "main.go")
gen(path.Join(prefix, "chapter03"), "main.go")
gen(path.Join(prefix, "chapter04"), "main.go")
gen(path.Join(prefix, "chapter05"), "main.go")
gen(path.Join(prefix, "chapter06"), "main.go")
gen(path.Join(prefix, "chapter07"), "main.go")
gen(path.Join(prefix, "chapter08"), "main.go")
}
func main() {
gentorsf()
gennetxlite()
}