Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Component *app.Component
)
View Source
var ParamsAutopeering = &ParametersAutopeering{}
Functions ¶
This section is empty.
Types ¶
type ParametersAutopeering ¶
type ParametersAutopeering struct { // Enabled defines whether the autopeering plugin is enabled. Enabled bool `default:"false" usage:"whether the autopeering plugin is enabled"` // BindAddress is bind address for autopeering. BindAddress string `default:"0.0.0.0:14626" usage:"bind address for autopeering"` // EntryNodes list of autopeering entry nodes to use. EntryNodes []string `` /* 297-byte string literal not displayed */ // EntryNodesPreferIPv6 defines if connecting over IPv6 is preferred for entry nodes. EntryNodesPreferIPv6 bool `default:"false" usage:"defines if connecting over IPv6 is preferred for entry nodes"` // RunAsEntryNode whether the node should act as an autopeering entry node. RunAsEntryNode bool `default:"false" usage:"whether the node should act as an autopeering entry node"` // InboundPeers the number of inbound autopeers. InboundPeers int `default:"2" usage:"the number of inbound autopeers"` // OutboundPeers the number of outbound autopeers. OutboundPeers int `default:"2" usage:"the number of outbound autopeers"` // SaltLifetime lifetime of the private and public local salt. SaltLifetime time.Duration `default:"2h" usage:"lifetime of the private and public local salt"` }
ParametersAutopeering contains the definition of the parameters used by autopeering.
Click to show internal directories.
Click to hide internal directories.