proxy.golang.org : github.com/LuisAcerv/hypergraph
Package hypergraph is an opinionated, easy-to-use P2P network stack for decentralized applications, and cryptographic protocols written in Go. hypergraph is made to be minimal, robust, developer-friendly, performant, secure, and cross-platform across multitudes of devices by making use of a small amount of well-tested, production-grade dependencies. This example demonstrates messaging with registering Go types to be serialized/deserialized on-the-wire provided marshal/unmarshal functions, how to decode serialized messages received from a peer, and how to send serialized messages. This example demonstrates sending registered serialized Go types as requests, decoding registered serialized Go types from peers, and sending registered serialized Go types as responses. This example demonstrates how to send and receive raw bytes across peers, how to listen for incoming peers, and how to cleanup node instances after you are done using them. This example demonstrates how to use Kademlia to have three peers Alice, Charlie and bob discover each other in an open, trustless network. This example demonstrates how to send/handle RPC requests across peers, how to listen for incoming peers, how to check if a message received is a request or not, how to reply to a RPC request, and how to cleanup node instances after you are done using them.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21luis%21acerv/hypergraph
License: MIT
Latest release: about 5 years ago
First release: almost 5 years ago
Namespace: github.com/LuisAcerv
Last synced: 1 day ago