processor

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(processor Processor, bean []Bean)

Types

type AfterInitProcessor

type AfterInitProcessor struct {
}

func (*AfterInitProcessor) Do

func (r *AfterInitProcessor) Do(bean Bean)

func (*AfterInitProcessor) Filter

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

type BeanInitProcessor

type BeanInitProcessor struct {
}

func (*BeanInitProcessor) Do

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

func (*BeanInitProcessor) Filter

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

type CreateBeanProcessor

type CreateBeanProcessor struct {
}

func (*CreateBeanProcessor) Do

func (c *CreateBeanProcessor) Do(bean bean.Bean)

func (*CreateBeanProcessor) Filter

func (c *CreateBeanProcessor) Filter(bean bean.Bean) bool

type Processor

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

Jump to

Keyboard shortcuts

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