Documentation ¶
Overview ¶
Broker is a local broker responsible for routing messages to and from remote services. There is one broker started per remote service.
Discovery is responsible for watching registered service nodes. It is tightly connected with Broker and is started along with it (i.e. per one remote service).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
func NewDiscovery ¶
func NewDiscovery(service string, nodesManager NodesManager, nodeCommand, nodeResponse chan NodeMessage, nextNode chan string) *Discovery
type NodeMessage ¶
type NodesManager ¶
Click to show internal directories.
Click to hide internal directories.