plugin

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPlugin

type DataPlugin struct {
	Name    string
	Creator *data.Creator
}

func NewDataPlugin

func NewDataPlugin(name string, creator func(fw data.Framework) (data.Plugin, error)) *DataPlugin

func (*DataPlugin) PluginInstance

func (p *DataPlugin) PluginInstance() any

PluginInstance implements plugin.Pluggable

func (*DataPlugin) PluginName

func (p *DataPlugin) PluginName() string

PluginName implements plugin.Pluggable

func (*DataPlugin) PluginType

func (p *DataPlugin) PluginType() inter.PluginType

PluginType implements plugin.Pluggable

func (*DataPlugin) PluginVersion

func (p *DataPlugin) PluginVersion() string

PluginVersion implements plugin.Pluggable

Jump to

Keyboard shortcuts

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