Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SupernodeListenPort is the port that supernode will listen. SupernodeListenPort = 8008 // DragonflySupernodeBinary is default binary DragonflySupernodeBinary = "/usr/local/bin/supernode" // DragonflyAddress is default address dragonfly supernode listens on. DragonflyAddress = fmt.Sprintf("tcp://127.0.0.1:%d", SupernodeListenPort) // TLSConfig is default tls config TLSConfig = client.TLSConfig{} // GateWay default gateway for test GateWay = "192.168.1.1" // Subnet 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.