Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker interface { SetTaskDispatcher(dispatcher Taskdispatcher) Publish(ctx context.Context, task *task.Task) error }
Broker - a common interface for all brokers local node remote(ip:port) node the mq
type Taskdispatcher ¶
TaskProcessor - can process a delivered task This will probably always be a worker instance
Click to show internal directories.
Click to hide internal directories.