# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
NewService creates a new service that can be used for hole punching The Service runs on all hosts that support the DCUtR protocol, no matter if they are behind a NAT / firewall or not.
WithAddrFilter is a Service option that enables multiaddress filtering.
WithMetricsAndEventTracer enables holepunch tracking with MetricsTracer and EventTracer.
WithMetricsTracer enables holepunch Tracing with MetricsTracer mt.
No description provided by the author
WithTracer enables holepunch tracing with EventTracer et.
# Constants
Event Types.
Event Types.
Event Types.
Protocol is the libp2p protocol for Hole Punching.
Event Types.
No description provided by the author
Event Types.
# Variables
ErrClosed is returned when the hole punching is closed.
ErrHolePunchActive is returned from DirectConnect when another hole punching attempt is currently running.
StreamTimeout is the timeout for the hole punch protocol stream.
# Structs
Event Objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The Service runs on every node that supports the DCUtR protocol.
No description provided by the author
# Interfaces
AddrFilter defines the interface for the multi address filtering.
No description provided by the author
No description provided by the author