processor

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 8 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 AutoConfigureProcessor added in v1.2.6

type AutoConfigureProcessor struct {
	Log logging.Logger `bean:"log"`
}

func (*AutoConfigureProcessor) Do added in v1.2.6

func (r *AutoConfigureProcessor) Do(b bean.Bean)

func (*AutoConfigureProcessor) Filter added in v1.2.6

func (r *AutoConfigureProcessor) Filter(bean 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 BeforeInitProcessor added in v1.2.6

type BeforeInitProcessor struct {
	bean.Component
}

func (*BeforeInitProcessor) Do added in v1.2.6

func (r *BeforeInitProcessor) Do(b bean.Bean)

func (*BeforeInitProcessor) Filter added in v1.2.6

func (r *BeforeInitProcessor) Filter(b 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