iexecutor

package
v0.0.0-...-9bd2c4f Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultExecutor

type DefaultExecutor struct {
	// contains filtered or unexported fields
}

func Default

func Default() *DefaultExecutor

func (*DefaultExecutor) Execute

func (exe *DefaultExecutor) Execute(sources map[int]*task.Task) (map[int]*task.Task, error)

func (*DefaultExecutor) Todo

func (exe *DefaultExecutor) Todo(todo func(sources map[int]*task.Task) (map[int]*task.Task, error))

func (*DefaultExecutor) Type

func (exe *DefaultExecutor) Type(t ...string) string

type IExecutor

type IExecutor interface {
	Execute(sources map[int]*task.Task) (map[int]*task.Task, error)
	Todo(todo func(sources map[int]*task.Task) (map[int]*task.Task, error))
	Type(t ...string) string
}

Jump to

Keyboard shortcuts

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