modulepackage
2.0.16+incompatible
Repository: https://github.com/cannium/go-tcp-transport.git
Documentation: pkg.go.dev
# README
go-tcp-transport
A libp2p transport implementation for tcp, including reuseport socket options.
Table of Contents
Install
make install
Contribute
PRs are welcome!
Small note: If editing the Readme, please conform to the standard-readme specification.
License
MIT © Jeromy Johnson
# Functions
NewTCPTransport creates a tcp transport object that tracks dialers and listeners created.
reuseportIsAvailable returns whether reuseport is available to be used.
# Variables
DefaultConnectTimeout is the (default) maximum amount of time the TCP transport will spend on the initial TCP connect before giving up.
# Structs
TcpTransport is the TCP transport.