package
0.0.0-20250225105205-8289a55d8107
Repository: https://github.com/mysteriumnetwork/node.git
Documentation: pkg.go.dev
# Functions
DefaultPingConfig returns default NAT pinger config.
NewNoopPinger returns noop nat pinger.
NewPinger returns Pinger instance.
# Constants
StageName represents hole-punching stage of NAT traversal.
# Variables
ErrTooFew indicates there were too few successful ping responses to build requested number of connections.
# Structs
NoopPinger does nothing.
PingConfig represents NAT pinger config.
Pinger represents NAT pinger structure.
# Interfaces
NATPinger is responsible for pinging nat holes.
PortSupplier provides port needed to run a service on.