Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct { Nodes *NodesManager // contains filtered or unexported fields }
func NewDiscovery ¶
type NodesManager ¶
func NewNodeManager ¶
func NewNodeManager() (m *NodesManager)
func (*NodesManager) AddNode ¶
func (n *NodesManager) AddNode(node *NodeInfo)
func (*NodesManager) DelNode ¶
func (n *NodesManager) DelNode(id string)
func (*NodesManager) Dump ¶
func (n *NodesManager) Dump()
func (*NodesManager) Pick ¶
func (n *NodesManager) Pick(name string) *NodeInfo
Click to show internal directories.
Click to hide internal directories.