processors

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultProcessor

type DefaultProcessor struct {
	Name    string
	Handler func(interface{})
}

func (*DefaultProcessor) Execute

func (p *DefaultProcessor) Execute(args interface{})

func (*DefaultProcessor) Fn

func (p *DefaultProcessor) Fn(handler func(interface{}))

func (*DefaultProcessor) Label

func (p *DefaultProcessor) Label() string

type ErrorChecker

type ErrorChecker interface {
	HasError() bool
}

type Processor

type Processor interface {
	Label() string
	Execute(interface{})
	Fn(func(interface{}))
}

type Processors

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

func New

func New() Processors

func (*Processors) Copy

func (ps *Processors) Copy() Processors

func (*Processors) Using

func (ps *Processors) Using(pType Type) *list

type Type

type Type uint8

Jump to

Keyboard shortcuts

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