Package p2phttp allows to serve HTTP endpoints and making HTTP requests through libp2p using Go's standard "http" and "net" stack. Instead of the regular "host:port" addressing, p2phttp uses a Peer ID and lets libp2p take care of the routing, thus taking advantage of features like multi-routes, NAT transversal and stream multiplexing over a single connection. This package is a library that uses Go modules for dependency management.
Features
- This package is a library that uses Go modules for dependency management
- Full documentation can be read at Godoc
- Package p2phttp allows to serve HTTP endpoints and make HTTP requests through libp2p using Go's standard "http" and "net" stack
- HTTP on top of libp2p
- Licensed under the MIT License
- p2phttp uses a Peer ID and lets libp2p take care of the routing
Categories
File SharingLicense
MIT LicenseFollow go-libp2p-http
Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database
Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of go-libp2p-http!