processor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(processor Processor, sync bool, bean ...Bean) error

Types

type BeanInitProcessor

type BeanInitProcessor struct {
}

func (*BeanInitProcessor) Do

func (b *BeanInitProcessor) Do(bean bean.Bean) error

func (*BeanInitProcessor) Filter

func (b *BeanInitProcessor) Filter(bean bean.Bean) bool

type FactoryBeanProcessor added in v1.3.8

type FactoryBeanProcessor struct {
}

func (*FactoryBeanProcessor) Do added in v1.3.8

func (f *FactoryBeanProcessor) Do(bean Bean) error

func (*FactoryBeanProcessor) Filter added in v1.3.8

func (f *FactoryBeanProcessor) Filter(bean Bean) bool

type Processor

type Processor interface {
	Filter(bean Bean) bool
	Do(bean Bean) error
}

type StarterProcessor added in v1.3.7

type StarterProcessor struct {
}

func (*StarterProcessor) Do added in v1.3.7

func (r *StarterProcessor) Do(bean Bean) error

func (*StarterProcessor) Filter added in v1.3.7

func (r *StarterProcessor) Filter(bean Bean) bool

Jump to

Keyboard shortcuts

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