strategy

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterConfig

type FilterConfig map[string][]string

type FilterItem

type FilterItem struct {
	checker.Handler
	// contains filtered or unexported fields
}

type Filters

type Filters []*FilterItem

func (Filters) Check

func (fs Filters) Check(ctx eocontext.EoContext) bool

type IFilter

type IFilter interface {
	Check(ctx eoscContext.EoContext) bool
}

func ParseFilter

func ParseFilter(config FilterConfig) (IFilter, error)

type IFilters

type IFilters []IFilter

func (IFilters) Check

func (fs IFilters) Check(ctx eoscContext.EoContext) bool

type IStrategyHandler

type IStrategyHandler interface {
	Strategy(ctx eoscContext.EoContext, next eoscContext.IChain) error
}

Jump to

Keyboard shortcuts

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