proxy

package
v1.0.0-pre.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProxyModuleBinary

func GetProxyModuleBinary(moduleName string, proxyTarget wazero.CompiledModule) []byte

GetProxyModuleBinary creates the proxy module to proxy a function call against all the exported functions in `proxyTarget`, and returns its encoded binary. The resulting module exports the proxy functions whose names are exactly the same as the proxy destination.

This is used to test host call implementations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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