plugins

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PluginMap map[string]PluginModel

Functions

func GetObjFromPlugin

func GetObjFromPlugin(name, objName string) model.RespModel

func LoadPlugin

func LoadPlugin(name, filePath string)

func RunFuncWithArg

func RunFuncWithArg[I any, O any](name, funcName string, i I) model.ResultModel[O]

单个参数,单个返回

func RunFuncWithArg0

func RunFuncWithArg0(name, funcName string) model.RespModel

Types

type PluginModel

type PluginModel struct {
	Path   string
	Plugin *plugin.Plugin
}

Jump to

Keyboard shortcuts

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