wasi

package
v0.0.0-...-75ec8e3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractDomainsFromGoCode

func ExtractDomainsFromGoCode(code string) []string

ExtractDomainsFromGoCode attempts to extract domains from Go HTTP code This is a best-effort static analysis

func GenerateWASMStub

func GenerateWASMStub(userCode string) (string, []string)

GenerateWASMStub generates a Go file that can be compiled to WASM with authorization

func WrapGoCodeWithAuthorization

func WrapGoCodeWithAuthorization(userCode string) string

WrapGoCodeWithAuthorization wraps user Go code with HTTP authorization layer This injects the authorization check before the code runs

Types

This section is empty.

Jump to

Keyboard shortcuts

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