basic

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolEqFilter

type BoolEqFilter struct {
}

func NewBoolEqFilter

func NewBoolEqFilter() BoolEqFilter

func (BoolEqFilter) GetKey

func (b BoolEqFilter) GetKey() string

func (BoolEqFilter) Match

func (b BoolEqFilter) Match(element types.JsonElement, matchTarget bool) errors.FilterError

func (BoolEqFilter) Valid

func (b BoolEqFilter) Valid(element types.JsonElement) errors.FilterError

type BoolFilterFactory

type BoolFilterFactory struct {
	// contains filtered or unexported fields
}

func NewBoolFilterFactory

func NewBoolFilterFactory(boolFilters []IBoolFilter) BoolFilterFactory

func (BoolFilterFactory) Get

type IBoolFilter

type IBoolFilter interface {
	types.IFilter[bool]
}

type INumberFilter

type INumberFilter interface {
	types.IFilter[float64]
}

type IStringFilter

type IStringFilter interface {
	types.IFilter[string]
}

type NumberEqFilter

type NumberEqFilter struct {
}

func NewNumberEqFilter

func NewNumberEqFilter() NumberEqFilter

func (NumberEqFilter) GetKey

func (b NumberEqFilter) GetKey() string

func (NumberEqFilter) Match

func (b NumberEqFilter) Match(element types.JsonElement, matchTarget float64) errors.FilterError

func (NumberEqFilter) Valid

type NumberFilterFactory

type NumberFilterFactory struct {
	// contains filtered or unexported fields
}

func NewNumberFilterFactory

func NewNumberFilterFactory(numberFilters []INumberFilter) NumberFilterFactory

func (NumberFilterFactory) Get

type StringEqFilter

type StringEqFilter struct {
}

func NewStringEqFilter

func NewStringEqFilter() StringEqFilter

func (StringEqFilter) GetKey

func (b StringEqFilter) GetKey() string

func (StringEqFilter) Match

func (b StringEqFilter) Match(element types.JsonElement, matchTarget string) errors.FilterError

func (StringEqFilter) Valid

type StringFilterFactory

type StringFilterFactory struct {
	// contains filtered or unexported fields
}

func NewStringFilterFactory

func NewStringFilterFactory(stringFilters []IStringFilter) StringFilterFactory

func (StringFilterFactory) Get

Jump to

Keyboard shortcuts

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