Documentation ¶
Index ¶
Constants ¶
View Source
const ( // bootstrappers will listen on 127.0.0.1 ports 9000, 9001, 9002, etc. BootstrapStartPort = 9000 // nodes will listen on 127.0.0.1 ports 8000, 8001, 8002, etc. NodeStartPort = 8000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Nodes []string `json:"nodes"` Bootstrappers []string `json:"bootstrappers"` // parsed values below NodeKeys []ed25519.PrivateKey NodePeerIDs []ragep2ptypes.PeerID NodePeerIDsStr []string BootstrapperKeys []ed25519.PrivateKey BootstrapperPeerInfos []ragep2ptypes.PeerInfo BootstrapperLocators []commontypes.BootstrapperLocator }
func ParseConfigFromFile ¶
Click to show internal directories.
Click to hide internal directories.