local

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0, BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CfgBind defines the config flag of the network bind address.
	CfgBind = "network.bindAddress"
	// CfgExternal defines the config flag of the network external address.
	CfgExternal = "network.externalAddress"
	// CfgPort defines the config flag of the autopeering port.
	CfgPort = "autopeering.port"
	// CfgSeed defines the config flag of the autopeering private key seed.
	CfgSeed = "autopeering.seed"
)

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() *peer.Local

GetInstance returns the instance of the local peer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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