pkg

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterService

type FilterService[T any] struct {
	// contains filtered or unexported fields
}

func NewFilterService

func NewFilterService[T any]() *FilterService[T]

func (*FilterService[T]) FilterOut added in v0.0.5

func (f *FilterService[T]) FilterOut(rawFilter string, matchTargets []T) []T

func (*FilterService[T]) Match added in v0.0.5

func (f *FilterService[T]) Match(rawFilter string, matchTarget T) errors.FilterError

func (*FilterService[T]) WithSceneFilter added in v0.0.5

func (f *FilterService[T]) WithSceneFilter(sceneFilterCreator SceneFilterCreator[T]) *FilterService[T]

func (*FilterService[T]) WithSceneFilters added in v0.0.5

func (f *FilterService[T]) WithSceneFilters(sceneFilterCreators []SceneFilterCreator[T]) *FilterService[T]

type SceneFilterCreator added in v0.0.5

type SceneFilterCreator[T any] func(filterFactory *factory.FilterFactory[T]) scene_filter.ISceneFilter[T]

Directories

Path Synopsis
filters

Jump to

Keyboard shortcuts

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