nodeinfo

module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Unlicense

README

nodeinfo

This project is an HTTP client for fetching NodeInfo data. Source code (golang) is under nodeinfo/. Integration tests are at internal/tests/.

tests

unit tests
make unit_test

# pass in some flags to "go test"
make unit_test ARGS='-count 1 -coverprofile /tmp/cover.out'
integration tests

Integration test requirements:

  • A Unix-like platform
  • jq
  • go, version >= 1.20

Run integration tests:

make integration_test

Some testdata is already committed to source control. Get new testdata and write to a temporary directory:

make fetch_integration_testdata

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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