pipeline

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BeforeHandler contains the functions to be called before the handler method is executed
	BeforeHandler = &pipelineChannel{}
	// AfterHandler contains the functions to be called after the handler method is executed
	AfterHandler = &pipelineAfterChannel{}
)

Functions

This section is empty.

Types

type AfterHandlerTempl added in v0.10.0

type AfterHandlerTempl func(ctx context.Context, out interface{}, err error) (interface{}, error)

AfterHandlerTempl is a function for the after handler, receives both the handler response and the error returned

type HandlerTempl added in v0.10.0

type HandlerTempl func(ctx context.Context, in interface{}) (out interface{}, err error)

HandlerTempl is a function that has the same signature as a handler and will be called before or after handler methods

Jump to

Keyboard shortcuts

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