filters

package
v0.0.0-...-04c4f09 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ParamFileFilter   = "file_filter"
	ParamApiFilter    = "api_filter"
	ParamMethodFilter = "method_filter"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Context FilterContext
	Value   string
}

func NewFilter

func NewFilter(value string, context FilterContext) Filter

func ParseCliFilters

func ParseCliFilters() []Filter

type FilterContext

type FilterContext int
const (
	FilterFile   FilterContext = 0
	FilterApi    FilterContext = iota
	FilterMethod FilterContext = iota
)

Jump to

Keyboard shortcuts

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