wasm

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package wasm provides the functionality for communicating with Conduit as a standalone plugin. DO NOT use this package directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostFunc added in v0.2.0

type HostFunc func(ptr unsafe.Pointer, size uint32) uint32

HostFunc is the function type for the imported functions from the host.

The arguments are: (1) a pointer to the address where the command should be written (2) the size of allocated memory.

The return value indicates the size of the allocated response in bytes. If the response is larger than the allocated memory, the caller should reallocate the memory and call the function again.

Jump to

Keyboard shortcuts

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