sandbox

package
v0.0.0-...-7217814 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS(r *http.Request) *virtfs.FS

Types

type WazeroSandbox

type WazeroSandbox struct {
	// contains filtered or unexported fields
}

func NewWazeroSandbox

func NewWazeroSandbox(ctx context.Context, wasm []byte) (*WazeroSandbox, error)

func (*WazeroSandbox) ExitCode

func (s *WazeroSandbox) ExitCode() uint32

func (*WazeroSandbox) Handler

func (s *WazeroSandbox) Handler(w http.ResponseWriter, r *http.Request) error

func (*WazeroSandbox) Stderr

func (s *WazeroSandbox) Stderr() string

func (*WazeroSandbox) Stdout

func (s *WazeroSandbox) Stdout() string

Jump to

Keyboard shortcuts

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