Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceDiscovery ¶
type ServiceDiscovery interface {
// SetNodeId sets nodeId
SetNodeId(nodeId string)
// WatchService Listens for a new node to start
WatchService(watchChan WatchChan)
// UpdateInfo Updates the information for this node
UpdateInfo([]byte) error
// Register registers the NodeID and notify other nodes
Register() error
}
ServiceDiscovery
Click to show internal directories.
Click to hide internal directories.