Documentation ¶ Index ¶ type AddWorker func (a AddWorker) Name() string func (a AddWorker) Run(msg ymsg.Message) error type MulWorker func (m MulWorker) Name() string func (m MulWorker) Run(msg ymsg.Message) error type NumArgs type SubWorker func (s SubWorker) Name() string func (s SubWorker) Run(msg ymsg.Message) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AddWorker ¶ type AddWorker struct { } func (AddWorker) Name ¶ func (a AddWorker) Name() string func (AddWorker) Run ¶ func (a AddWorker) Run(msg ymsg.Message) error type MulWorker ¶ type MulWorker struct { } func (MulWorker) Name ¶ func (m MulWorker) Name() string func (MulWorker) Run ¶ func (m MulWorker) Run(msg ymsg.Message) error type NumArgs ¶ type NumArgs struct { A int `json:"a"` B int `json:"b"` } type SubWorker ¶ type SubWorker struct { } func (SubWorker) Name ¶ func (s SubWorker) Name() string func (SubWorker) Run ¶ func (s SubWorker) Run(msg ymsg.Message) error Source Files ¶ View all Source files wokers.go Click to show internal directories. Click to hide internal directories.