plugin_funcs

package
v0.0.0-...-713cbbb Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateModule

func CreateModule(engine *wapc.Engine, guest *[]byte, ctx context.Context, HostFunction wapc.HostCallHandler) (*wapc.Module, error)

func InvokePluginByInstance

func InvokePluginByInstance(instance *wapc.Instance, function string, params ...[]byte) ([]byte, error)

Invoke and return data from a validated plugin

func LoadPlugin

func LoadPlugin(plugin_name string, plugin_path string, host_function wapc.HostCallHandler) (*arachne_plugin_scaffold.ArachnePlugin, error)

Load an individual plugin

func LoadPluginInfoFromJSON

func LoadPluginInfoFromJSON(filePath string) (*arachne_plugin_scaffold.PluginInfo, error)

func ValidatePlugin

func ValidatePlugin(p *arachne_plugin_scaffold.ArachnePlugin) error

Run plugin validation

Types

This section is empty.

Jump to

Keyboard shortcuts

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