❗ Breaking changes are planned for some ndt7 clients. ❗
If you are using ndt7-client.exe to target specific M-Lab servers, please contact support@measurementlab.net. These clients should be scheduled randomly rather than synchronously to improve server & client measurements. We are deploying changes to the ndt-server to require access tokens in the near future.
Reference ndt7 Go client implementation. Useful resources:
The master branch contains stable code. We don't promise we won't break the API, but we'll try not to.
You need Go >= 1.12. We use modules. Make sure Go knows that:
export GO111MODULE=on
Clone the repository wherever you want with
git clone https://github.com/m-lab/ndt7-client-go
From inside the repository, use go get ./cmd/ndt7-client
to
build the client. Binaries will be placed in $GOPATH/bin
, if
GOPATH
is set, and in $HOME/go/bin
otherwise.
If you're into a one-off install, this
go get -v github.com/m-lab/ndt7-client-go/cmd/ndt7-client
is equivalent to cloning the repository, running go get ./cmd/ndt7-client
,
and then cancelling the repository directory.