Nym Directory Server
A temporarily centralised PKI, presence and metrics server allowing us to get the other
Nym node types running. Nym nodes and clients use it to find each other, and
bootstrap the network into existence. Metrics allow us to easily build visualizations
of the network for demonstration, education, and debugging purposes during development.
Eventually some aspects of it (presence, PKI) will be
decentralized. Other aspects of it (e.g. metrics) will likely stay centralized.
Dependencies
Building
Nothing too special here, go run main.go
should see you through.
go test ./...
will run the test suite.
Usage
The server exposes an HTTP interface which can be queried. To see documentation
of the server's capabilities, go to http://localhost:8080/swagger/index.html in
your browser once you've run the server. You'll be presented with an overview
of functionality. All methods are runnable through the Swagger docs interface,
so you can poke at the server to see what it does.