Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SupernodeListenPort is the port that supernode will listen. SupernodeListenPort = 8008 // SupernodeDownloadPort is the port that supernode will listen. SupernodeDownloadPort = 8009 // DragonflySupernodeBinary is the default binary path. DragonflySupernodeBinary = "/usr/local/bin/supernode" // DragonflyAddress is the default address dragonfly supernode listens on. DragonflyAddress = fmt.Sprintf("tcp://127.0.0.1:%d", SupernodeListenPort) // TLSConfig is the default TLS config. TLSConfig = client.TLSConfig{} // GateWay is the default gateway for test. GateWay = "192.168.1.1" // Subnet is the default subnet for test. Subnet = "192.168.1.0/24" )
Functions ¶
func IsHubConnected ¶
func IsHubConnected() bool
IsHubConnected checks if hub address can be connected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.