node-status-api

command module
v0.10.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

Node Status API

A monitoring API which stores node statuses for payment purposes.

Reports are stored in a SQLite database at ~/.nym/mixmining.db

Dependencies

  • Go 1.15 or later

Building and running

go build will build the binary.

Usage

The server exposes an HTTP interface which can be queried. To see documentation of the server's capabilities, go to http://:8081/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.

Developing

go test ./... will run the test suite.

From the top-level node-status-api directory, swag init -g main.go --output docs/ rebuilds the Swagger docs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL