Documentation ¶
Index ¶
- func CreateModule(engine *wapc.Engine, guest *[]byte, ctx context.Context, ...) (*wapc.Module, error)
- func InvokePluginByInstance(instance *wapc.Instance, function string, params ...[]byte) ([]byte, error)
- func LoadPlugin(plugin_name string, plugin_path string, host_function wapc.HostCallHandler) (*arachne_plugin_scaffold.ArachnePlugin, error)
- func LoadPluginInfoFromJSON(filePath string) (*arachne_plugin_scaffold.PluginInfo, error)
- func UnloadPlugin(a *arachne_plugin_scaffold.ArachnePlugin) error
- func ValidatePlugin(p *arachne_plugin_scaffold.ArachnePlugin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateModule ¶
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 UnloadPlugin ¶
func UnloadPlugin(a *arachne_plugin_scaffold.ArachnePlugin) error
func ValidatePlugin ¶
func ValidatePlugin(p *arachne_plugin_scaffold.ArachnePlugin) error
Run plugin validation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.