Documentation ¶ Index ¶ func Compile(ctx context.Context, params CompileParams) (mod wazero.CompiledModule, err error) func Execute(ctx context.Context, params ExecParams) (output []byte, err error) type CompileParams type ExecParams 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) (mod wazero.CompiledModule, 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 CompiledModule wazero.CompiledModule Release string Stdin io.Reader Args []string Env map[string]string CacheDir string } Source Files ¶ View all Source files wasi.go Click to show internal directories. Click to hide internal directories.