Categorygithub.com/libp2p/go-libp2p-autonat-svc
modulepackage
0.2.0
Repository: https://github.com/libp2p/go-libp2p-autonat-svc.git
Documentation: pkg.go.dev

# README

go-libp2p-autonat-svc

Discourse posts

AutoNAT service implementation

Deprecated

This repository is now subsumed within the autonat repo.

Documentation

See https://godoc.org/github.com/libp2p/go-libp2p-autonat-svc.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

MIT


The last gx published version of this module was: 1.0.15: QmS4vFMsoH5BwxfWdMBeMt6sBdcBAB5mik1ATADySymLZW

# Functions

NewAutoNATService creates a new AutoNATService instance attached to a host Deprecated - use autonat.EnableService.

# Constants

No description provided by the author

# Variables

AutoNATGlobalThrottle defines how many total autonat requests this service will answer each ResetInterval.
AutoNATMaxPeerAddresses defines maximum number of addreses the autonat service will consider when attempting to connect to the peer.
AutoNATServiceDialTimeout defines how long to wait for connection attempts before failing.
AutoNATServiceResetInterval defines how often to reset throttling.
AutoNATServiceResetJitter defines the amplitude of randomness in throttle reset timing.
AutoNATServiceThrottle defines how many times each ResetInterval a peer can ask for its autonat address.

# Structs

AutoNATService provides NAT autodetection services to other peers Deprecated - use autonat.EnableService.