wasi

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile added in v0.1.3

func Compile(ctx context.Context, params CompileParams) (err error)

func Execute

func Execute(ctx context.Context, params ExecParams) (output []byte, err error)

Types

type CompileParams added in v0.1.3

type CompileParams struct {
	Wasm     []byte
	CacheDir string
}

type ExecParams

type ExecParams struct {
	Wasm     []byte
	Release  string
	Stdin    io.Reader
	Args     []string
	Env      map[string]string
	CacheDir string
}

Jump to

Keyboard shortcuts

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