Package p2phttp allows to serve HTTP endpoints and make HTTP requests through libp2p using Go's standard "http" and "net" stack. Instead of the regular "host:port" addressing, p2phttp uses a Peer ID ...
This library is licensed under the Apache 2.0 License. To run some of the integration tests (start with localhost_integ_*), you need to set up a localhost that echo the request headers from /echo back ...