Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is an essence which provides communication between network level and EventBus.
type NodeNetwork ¶ added in v0.2.0
type NodeNetwork struct {
// contains filtered or unexported fields
}
NodeNetwork is node manager.
func NewNodeNetwork ¶
func NewNodeNetwork(nodeCfg configuration.NodeNetwork) *NodeNetwork
NewNodeNetwork creates a new node network.
func (*NodeNetwork) GetID ¶ added in v0.2.0
func (network *NodeNetwork) GetID() core.RecordRef
GetID returns current node id
func (*NodeNetwork) ResolveHostID ¶ added in v0.2.0
func (network *NodeNetwork) ResolveHostID(ref core.RecordRef) string
ResolveHostID returns a host found by reference.
Click to show internal directories.
Click to hide internal directories.