Help us shape the future of Go! Take the 2026 Go Developer Survey

filter

package
v1.300063.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Process ProcessConfig `json:"process"`
}

type Filters

type Filters struct {
	Process ProcessFilters
}

func FromConfig

func FromConfig(logger *slog.Logger, cfg Config) Filters

type ProcessConfig

type ProcessConfig struct {
	// MinUptime is the minimum uptime for a process to be included in detection results.
	MinUptime time.Duration `json:"min_uptime"`
	// ExcludeNames is the list of names to exclude from detection results.
	ExcludeNames []string `json:"exclude_names"`
}

type ProcessFilters

type ProcessFilters struct {
	Pre  detector.ProcessFilter
	Name detector.NameFilter
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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