Documentation ¶
Index ¶
Constants ¶
View Source
const ( PluginDir = "./go-plugins" InterfaceName = "Plugin" )
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin(pluginType PluginType, name string, v Plugin, singleton bool)
func RegisterPluginFactory ¶
func RegisterPluginFactory(pluginType PluginType, name string, v PluginFactory)
Types ¶
type Plugin ¶
func DownloadGoNativePlugin ¶ added in v0.9.22
type PluginFactory ¶
type PluginFactory func() Plugin
type PluginType ¶
type PluginType string
const ( InputPlugin PluginType = "input" PositionRepo PluginType = "positionRepo" OutputPlugin PluginType = "output" FilterPlugin PluginType = "filters" MatcherPlugin PluginType = "matcher" SchedulerPlugin PluginType = "scheduler" SQLExecutionEnginePlugin PluginType = "sqlExecutionEngine" )
Click to show internal directories.
Click to hide internal directories.