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.
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.