manualpeering

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0, BSD-2-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "ManualPeering"

PluginName is the name of the manual peering plugin.

View Source
const RouteManualPeers = "manualpeering/peers"

RouteManualPeers defines the HTTP path for manualpeering peers endpoint.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration used by the manualPeering plugin.

View Source
var (
	// Plugin is the plugin instance of the manual peering plugin.
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ParametersDefinition added in v0.7.4

type ParametersDefinition struct {
	// KnownPeers defines the map of peers to be used as known peers.
	KnownPeers string `usage:"map of peers that will be used as known peers"`
}

ParametersDefinition contains the definition of the parameters used by the manualPeering plugin.

Jump to

Keyboard shortcuts

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