plugin

package
v0.0.0-...-2a35a27 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package plugin provides functionality to load and run parser plugins dynamically. It is used for custom parsers. The plugin needs to be located at `ModPath` and export a symbol with name `SymName` that implements the stage.Parser interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	ModPath string
	SymName string `default:"Parser"`
}

type Plugin

type Plugin struct{}

func (*Plugin) Run

func (*Plugin) Run(results []stage.ExecutorResult, confAny any) (
	[]stage.ParserResult, bool, error,
)

Jump to

Keyboard shortcuts

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