Skip to content

plexsysio/go-libp2p-genrpc

Repository files navigation

go-libp2p-genrpc

Go Go Reference Coverage Status

Generics based RPC framework using libp2p

go-libp2p-genrpc is a small library which provides a type-safe API to write go functions as RPCs over libp2p transport.

The goal was to see if we can provide similar functionality as go-libp2p-gorpc but using generics in a type-safe manner. The result is a slightly different API which is more verbose. Additional functionality like writing middlewares is also possible.

Install

This module can be installed with go get:

> go get github.com/plexsysio/go-libp2p-genrpc

Usage

Check docs.

There are also some examples.

About

Generics based RPC framework using libp2p

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages