common

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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 EqFilter

type EqFilter[T comparable] struct {
}

func NewEqFilter

func NewEqFilter[T comparable]() EqFilter[T]

func (EqFilter[T]) GetKey

func (b EqFilter[T]) GetKey() string

func (EqFilter[T]) Match

func (b EqFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (EqFilter[T]) Valid

func (b EqFilter[T]) Valid(element types.JsonElement) errors.FilterError

type InFilter added in v0.0.4

type InFilter[T comparable] struct {
}

func NewInFilter added in v0.0.4

func NewInFilter[T comparable]() InFilter[T]

func (InFilter[T]) GetKey added in v0.0.4

func (b InFilter[T]) GetKey() string

func (InFilter[T]) Match added in v0.0.4

func (b InFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (InFilter[T]) Valid added in v0.0.4

func (b InFilter[T]) Valid(element types.JsonElement) errors.FilterError

type NeFilter

type NeFilter[T comparable] struct {
}

func NewNeFilter

func NewNeFilter[T comparable]() NeFilter[T]

func (NeFilter[T]) GetKey

func (b NeFilter[T]) GetKey() string

func (NeFilter[T]) Match

func (b NeFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (NeFilter[T]) Valid

func (b NeFilter[T]) Valid(element types.JsonElement) errors.FilterError

Jump to

Keyboard shortcuts

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