Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewPluginFunc ¶
type NewPluginFunc func(pluginContext *types.PluginContext) (any, error)
type PluginFunc ¶
PluginFunc is the OpenRun plugin function mapping to starlark function
type PluginInfo ¶
type PluginInfo struct {
ModuleName string // exec
PluginPath string // exec.in
FuncName string // run
IsRead bool
HandlerName string
Builder NewPluginFunc
ConstantValue starlark.Value
}
PluginFuncInfo is the OpenRun plugin function info for the starlark function
type PluginMap ¶
type PluginMap map[string]*PluginInfo
PluginMap is the plugin function mapping to PluginFuncs
Click to show internal directories.
Click to hide internal directories.