rainbond: github.com/goodrain/rainbond/gateway/cluster Index | Files

package cluster

import "github.com/goodrain/rainbond/gateway/cluster"

Index

Package Files

node.go

type NodeManager Uses

type NodeManager struct {
    // contains filtered or unexported fields
}

NodeManager node manager

func CreateNodeManager Uses

func CreateNodeManager(config option.Config) (*NodeManager, error)

CreateNodeManager create node manager

func (*NodeManager) CheckPortAvailable Uses

func (n *NodeManager) CheckPortAvailable(protocol string, ports ...uint32) bool

CheckPortAvailable checks whether the specified port is available

func (*NodeManager) GetLocalV4IPs Uses

func (n *NodeManager) GetLocalV4IPs() []net.IP

GetLocalV4IPs get current host all available IP

Package cluster imports 6 packages (graph) and is imported by 1 packages. Updated 2019-03-21. Refresh now. Tools for package owners.