Go to file
Arturo Filastò 541e2c0c1b Update schema
2018-03-20 12:38:21 +01:00
cmd/ooni Implement handlers to normalise how logging is handled 2018-02-21 17:06:30 +02:00
config Add functions to handling migration from legacy OONI Probe 2018-02-12 12:18:14 +02:00
data Update schema 2018-03-20 12:38:21 +01:00
internal Implement state tracking in database 2018-03-19 19:28:32 +01:00
nettests Go considers the default type of JSON float64 2018-03-19 19:31:17 +01:00
.gitignore Get NDT test to run via gooni 2018-02-13 17:16:23 +02:00
Gopkg.lock Bump MK version 2018-03-19 19:28:07 +01:00
Gopkg.toml remove the system go-bindata requirement. 2018-03-08 11:34:30 -08:00
Makefile remove the system go-bindata requirement. 2018-03-08 11:34:30 -08:00
ooni.go Start adding support for writing measurements to disk 2018-03-19 13:20:42 +01:00
Readme.md expand readme 2018-03-08 01:27:59 -08:00

gooni

An attempt at writing OONI Probe in golang.

This is heavy work in progress.

Development setup

This project uses dep with the vendor/ dir in .gitignore.

Once you have dep installed, run:

dep ensure

Next, you'll need a recent version of Measurement Kit. As this is a work in progress, you'll likely need to build a version of the library from source.

You should then be able to build a ooni binary by running:

make build

If you want to build gooni against a development version of MK without installing it to your system, you can explicitly specify the path where MK was built as

CGO_LDFLAGS="-L/path/to/measurement-kit/.libs/" CGO_CFLAGS="-I/path/to/measurement-kit/include" make build