Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rafaelespinoza/nodeinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

nodeinfo

docs tests

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
# By default, it will use the first go binary in your PATH.
# Specify a path to another golang version like so:
GO=/path/to/other/golang/version/bin make integration_test

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

make fetch_integration_testdata

About

An HTTP API client to fetch metadata about distributed social networks

Topics

Resources

License

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /