Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeManager ¶
type NodeManager struct {
// contains filtered or unexported fields
}
NodeManager node manager
func CreateNodeManager ¶
func CreateNodeManager(config option.Config) (*NodeManager, error)
CreateNodeManager create node manager
func (*NodeManager) CheckPortAvailable ¶
func (n *NodeManager) CheckPortAvailable(protocol string, ports ...uint32) bool
CheckPortAvailable checks whether the specified port is available
func (*NodeManager) GetLocalV4IPs ¶
func (n *NodeManager) GetLocalV4IPs() []net.IP
GetLocalV4IPs get current host all available IP
Click to show internal directories.
Click to hide internal directories.