pipe_tool

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterVerify

func FilterVerify(f *pipeline.Filter) bool

func FilterVerifyStr

func FilterVerifyStr(s string) bool

Types

type Filter

type Filter struct {
	DBBlack    map[string]bool
	TableBlack map[string]bool
	DBWhite    map[string]bool
	TableWhite map[string]bool
}

func NewFilter

func NewFilter(filters []*pipeline.Filter) (f *Filter)

func (*Filter) IsFilter

func (t *Filter) IsFilter(msg *message.Message) bool

func (*Filter) IsFilterWithName

func (t *Filter) IsFilterWithName(name string) (bool, error)

Jump to

Keyboard shortcuts

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