Documentation ¶
Overview ¶
Package exampletasks - some sample tasks Each task should implement v1.Task interface. Put your business logic inside the Run method. Task arguments are available in the args slice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiplyTask ¶
type MultiplyTask struct{}
MultiplyTask ...
func (MultiplyTask) Run ¶
func (t MultiplyTask) Run(args []interface{}) (interface{}, error)
Run - runs the task and returns result of all numbers in args multiplied
Click to show internal directories.
Click to hide internal directories.