p2pcat

command module
v0.0.0-...-e515043 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 18 Imported by: 0

README

A simple netcat-like program for libp2p.

Example usage with protocat:

> export PATH="$GOPATH/bin:$PATH"       # make sure your GOPATH is in your PATH
> go get github.com/Stebalien/{p2pcat,protocat} github.com/libp2p/go-libp2p/p2p/protocol/identify/pb
> MADDR=/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
> PROTOBUF=github.com/libp2p/go-libp2p/p2p/protocol/identify/pb/identify.Identify
> p2pcat -v -routed $MADDR /ipfs/id/1.0.0 <&-| protocat -l -d $PROTOBUF

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL