Registry / networking / libp2p-go-tcp-transport

libp2p-go-tcp-transport

JSON →
library0.6.1gogounverified

TCP transport for libp2p (deprecated; moved to go-libp2p).

go get github.com/libp2p/go-tcp-transport
INSTALL
IMPORT
SIG · LIBP2P-GO-TCP-TRAN
L
libp2p-go-tcp-transport
networkinggov0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tcptransport
github.com/libp2p/go-tcp-transport

Create a libp2p host with TCP transport (deprecated usage).

package main import ( "github.com/libp2p/go-libp2p" tcptransport "github.com/libp2p/go-tcp-transport" ) func main() { host, _ := libp2p.New(libp2p.Transport(tcptransport.NewTCPTransport)) defer host.Close() }
Debug
Known issues
breakingThis package is deprecated; use github.com/libp2p/go-libp2p/p2p/transport/tcp instead.
fix
Replace import with `github.com/libp2p/go-libp2p/p2p/transport/tcp`.
affects: >=0.6.0
Upgrade
Version history
0.6.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libp2p-go-tcp-transport — go get libp2p-go-tcp-transport · libregistry