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.
Click to show internal directories.
Click to hide internal directories.