autopeering

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Discovery is the peer discovery protocol.
	Discovery *discover.Protocol
	// Selection is the peer selection protocol.
	Selection *selection.Protocol

	// ID is the node's autopeering ID
	ID string

	ErrParsingEntryNode = errors.New("can't parse entry node")
)
View Source
var (
	PLUGIN = node.NewPlugin("Autopeering", node.Enabled, configure, run)
)

Functions

This section is empty.

Types

type Local

type Local struct {
	PeerLocal *peer.Local
	// contains filtered or unexported fields
}

func NewLocal

func NewLocal() *Local

func (*Local) Close

func (l *Local) Close() error

Jump to

Keyboard shortcuts

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