package
0.41.0
Repository: https://github.com/libp2p/go-libp2p.git
Documentation: pkg.go.dev

# Constants

UpdateKindDialFailed indicates dial failed.
UpdateKindDialSuccessful indicates dial succeeded.
UpdateKindHandshakeProgressed indicates successful completion of the TCP 3-way handshake.

# Variables

ErrListenerClosed is returned by Listener.Accept when the listener is gracefully closed.

# Structs

DialUpdate is used by DialUpdater to provide dial updates.

# Interfaces

A CapableConn represents a connection that has offers the basic capabilities required by libp2p: stream multiplexing, encryption and peer authentication.
DialUpdater provides updates on in progress dials.
Listener is an interface closely resembling the net.Listener interface.
Resolver can be optionally implemented by transports that want to resolve or transform the multiaddr.
SkipResolver can be optionally implemented by transports that don't want to resolve or transform the multiaddr.
Transport represents any device by which you can connect to and accept connections from other peers.
TransportNetwork is an inet.Network with methods for managing transports.
Upgrader is a multistream upgrader that can upgrade an underlying connection to a full transport connection (secure and multiplexed).

# Type aliases

DialUpdateKind indicates the type of DialUpdate event.