package
0.0.0-20240403165652-06b9e9daf814
Repository: https://github.com/world-wide-wasm/capsule-host-sdk.git
Documentation: pkg.go.dev

# Functions

CallModuleFunction executes the wasm function of a module */.
DefineHostFuncPrintStr defines the hostPrintString function which takes in a string position and string length as parameters, and returns an integer.
GetModule returns the wasm module */.
Initialize initializes the Wasm Plugin */.
StorePlugin stores the Wazero runtime and the wasm module into maps */.

# Variables

Protection is a mutex to protect the module.

# Structs

ModuleFunction : used to add host functions.
Plugin : specific type.