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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user