types

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncCheck

func FuncCheck(fn interface{}) error

FuncCheck tests if a function is one of FuncType

func FuncTypeWrap

func FuncTypeWrap(fn interface{}) func(context.Context) error

FuncTypeWrap wraps a valid FuncType to FuncContextError

Types

type FuncType

type FuncType int

FuncType indicates a prototype of build job function

const (
	InvalidType FuncType = iota
	VoidType
	ErrorType
	ContextVoidType
	ContextErrorType
)

FuncTypes

Jump to

Keyboard shortcuts

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