commonopts

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package commonopts provides common option types for configuring processors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpts

func GetOpts[T any](opts []InternalProcessorOpt, optType string) []T

GetOpts extracts options of a specific type from a list of internal processor options.

Types

type InternalProcessorOpt

type InternalProcessorOpt interface {
	OptionType() string
}

InternalProcessorOpt is an interface for processor configuration options.

Jump to

Keyboard shortcuts

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