executor

package
v0.0.0-...-e7c03cd Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorker

func NewWorker(moniker string) (func(context.Context, interface{}) func(interface{}) (context.Context, interface{}, error), error)

Types

type DoWorkFun

type DoWorkFun (func() (interface{}, error))

type Engine

type Engine interface {
}

Engine

func NewEngine

func NewEngine(engineImpl Engine) (Engine, error)

type EngineImpl

type EngineImpl struct {
}

type Process

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

func NewProcess

func NewProcess() *Process

type W

type W func(context.Context, interface{}) DoWorkFun

type D

type Worker

type Worker func(ctx context.Context, desc interface{}) DoWorkFun

Jump to

Keyboard shortcuts

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