autonat

package module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2019 License: MIT Imports: 14 Imported by: 11

README

go-libp2p-autonat-svc

Discourse posts

AutoNAT service implementation

This package provides an implementation of the AutoNATService; see autonat.

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

Documentation

Index

Constants

View Source
const P_CIRCUIT = 290

Variables

View Source
var (
	AutoNATServiceDialTimeout   = 15 * time.Second
	AutoNATServiceResetInterval = 1 * time.Minute

	AutoNATServiceThrottle = 3
)

Functions

This section is empty.

Types

type AutoNATService

type AutoNATService struct {
	// contains filtered or unexported fields
}

AutoNATService provides NAT autodetection services to other peers

func NewAutoNATService

func NewAutoNATService(ctx context.Context, h host.Host, opts ...libp2p.Option) (*AutoNATService, error)

NewAutoNATService creates a new AutoNATService instance attached to a host

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL