workers

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL