matchers

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const SchemaMatcherName = "match-schema"
View Source
const TableMatcherName = "match-table"

Variables

This section is empty.

Functions

func NewMatchers

func NewMatchers(configData map[string]interface{}) (core.IMatcherGroup, error)

Types

type SchemaMatcher

type SchemaMatcher struct {
	SchemaGlob string
}

func (*SchemaMatcher) Configure

func (m *SchemaMatcher) Configure(data interface{}) error

func (*SchemaMatcher) Match

func (m *SchemaMatcher) Match(msg *core.Msg) bool

type TableMatcher

type TableMatcher struct {
	TableGlob string
}

func (*TableMatcher) Configure

func (m *TableMatcher) Configure(data interface{}) error

func (*TableMatcher) Match

func (m *TableMatcher) Match(msg *core.Msg) bool

Jump to

Keyboard shortcuts

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