Categorygithub.com/plexsysio/go-libp2p-genrpc
repositorypackage
0.0.0-20230918082239-64a1e9d7bd5c
Repository: https://github.com/plexsysio/go-libp2p-genrpc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

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.