manualpeering

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0, BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "Manualpeering"

PluginName is the name of the manualpeering 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.

Functions

func Manager

func Manager() *manualpeering.Manager

Manager is a singleton for manualpeering Manager.

func Plugin

func Plugin() *node.Plugin

Plugin gets the plugin instance.

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