Versions in this module Expand all Collapse all v0 v0.90.0 Jan 20, 2026 Changes in this version + type Executor struct + func NewExecutor(runtime wazero.Runtime, logger *zap.Logger) *Executor + func (e *Executor) CallHandleFunction(ctx context.Context, instance api.Module, input []byte) ([]byte, error) + func (e *Executor) ExecuteModule(ctx context.Context, compiled wazero.CompiledModule, moduleName string, ...) ([]byte, error) + func (e *Executor) ReadFromGuest(mod api.Module, ptr, size uint32) ([]byte, bool) + func (e *Executor) UnmarshalJSONFromGuest(mod api.Module, ptr, size uint32, v interface{}) error + func (e *Executor) WriteToGuest(ctx context.Context, mod api.Module, data []byte) uint64 + type ModuleInfo struct + CID string + Compiled bool + SizeBytes int + type ModuleLifecycle struct + func NewModuleLifecycle(runtime wazero.Runtime, logger *zap.Logger) *ModuleLifecycle + func (m *ModuleLifecycle) CloseModule(ctx context.Context, module wazero.CompiledModule, wasmCID string) error + func (m *ModuleLifecycle) CloseModules(ctx context.Context, modules map[string]wazero.CompiledModule) []error + func (m *ModuleLifecycle) CompileModule(ctx context.Context, wasmCID string, wasmBytes []byte) (wazero.CompiledModule, error) + func (m *ModuleLifecycle) GetModuleInfo(wasmCID string, wasmBytes []byte, isCompiled bool) *ModuleInfo + func (m *ModuleLifecycle) InstantiateModule(ctx context.Context, compiled wazero.CompiledModule, ...) error + func (m *ModuleLifecycle) ValidateModule(module wazero.CompiledModule) error v0.90.0-nigthly Jan 20, 2026