Simple Go RPC for libp2p.
go-libp2p-gorpc
provides RPC support on top of libp2p in the same way that net/rpc does on HTTP with a few additional features like:
- Streaming RPC calls using channels.
- Contexts and async calls.
This module can be installed with go get
:
> go get github.com/libp2p/go-libp2p-gorpc
This repo is gomod-compatible, and users of
go 1.11 and later with modules enabled will automatically pull the latest tagged release
by referencing this package. Upgrades to future releases can be managed using go get
,
or by editing your go.mod
file as described by the gomod documentation.
Documentation for this module is maintained in pkg.go.dev.
There are also examples inside the examples directory
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT
The last gx published version of this module was: 1.1.4: QmcJCApoEsCJJap2iS1os9GFX5EuRrfuPeZdjCopz2SyPm