intents

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	Filter(i *dto.Intent) (*dto.Intent, error)
}

Filter ...

type FilterManager

type FilterManager interface {
	Filter
}

FilterManager ... [inject:"#intent-filter-manager"]

type FilterManagerImpl

type FilterManagerImpl struct {
	markup.Component `id:"intent-filter-manager"`

	Filters []FilterRegistry `inject:".intent-filter-registry"`
	// contains filtered or unexported fields
}

FilterManagerImpl ...

func (*FilterManagerImpl) Filter

func (inst *FilterManagerImpl) Filter(intent *dto.Intent) (*dto.Intent, error)

Filter ...

func (*FilterManagerImpl) Len

func (inst *FilterManagerImpl) Len() int

func (*FilterManagerImpl) Less

func (inst *FilterManagerImpl) Less(i1, i2 int) bool

func (*FilterManagerImpl) Swap

func (inst *FilterManagerImpl) Swap(i1, i2 int)

type FilterRegistration

type FilterRegistration struct {
	Filter Filter
	Order  int
}

FilterRegistration ...

type FilterRegistry

type FilterRegistry interface {
	GetRegistrationList() []*FilterRegistration
}

FilterRegistry ... [inject:".intent-filter-registry"]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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