selector

package
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package selector implements the functions, types, and interfaces for the module.

Package selector implements the functions, types, and interfaces for the module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchFunc

type MatchFunc = selector.MatchFunc

type Selector

type Selector interface {
	Append(key string, middleware middleware.Middleware) Selector
	Middlewares(filtered bool) []middleware.Middleware
	Build(cfg *selectorv1.Selector, serv bool) []middleware.Middleware
	Total() int
}

func New

func New(cfg *selectorv1.Selector, matchFunc selector.MatchFunc) Selector

func NewSelectorFilter

func NewSelectorFilter(keys []string, matchFunc selector.MatchFunc) Selector

func Unfiltered

func Unfiltered() Selector

Jump to

Keyboard shortcuts

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