plugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Registry = make(map[string]Plugin)

Registry keeps track of available plugins.

Functions

func RegisterPlugin

func RegisterPlugin(p Plugin)

RegisterPlugin adds a plugin to the registry.

Types

type Plugin

type Plugin interface {
	Name() string
	Process(input string) (string, error)
}

Plugin defines an interface for any custom processing module.

Jump to

Keyboard shortcuts

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