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.
Click to show internal directories.
Click to hide internal directories.