registry

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPlugin

func RegisterPlugin(pluginType PluginType, name string, v Plugin)

Types

type Plugin

type Plugin interface {
	Configure(data map[string]interface{}) error
}

func GetPlugin

func GetPlugin(pluginType PluginType, name string) (Plugin, error)

type PluginType

type PluginType string
const (
	InputPlugin    PluginType = "input"
	OutputPlugin   PluginType = "output"
	MetaPlugin     PluginType = "meta"
	PositionPlugin PluginType = "position"
)

Jump to

Keyboard shortcuts

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