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
Click to show internal directories.
Click to hide internal directories.