module

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	ctx context.Context,
	rt wazero.Runtime,
	callHandler CallHandler,
	logger logger.Logger,
) (api.Module, error)

Types

type CallHandler

type CallHandler func(ctx context.Context, operation string, payload []byte) ([]byte, error)

CallHandler is a function to invoke to handle when a guest is performing a host call.

Jump to

Keyboard shortcuts

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