wasm

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WasmManifest

type WasmManifest struct {
	Assets map[string]WasmPageAssets `json:"assets"`
}

func LoadManifest

func LoadManifest(path string) (*WasmManifest, error)

func NewManifest

func NewManifest() *WasmManifest

func (*WasmManifest) Save

func (m *WasmManifest) Save(path string) error

type WasmModule

type WasmModule struct {
	Hash       string `json:"hash"`
	WasmPath   string `json:"wasmPath"`
	LoaderPath string `json:"loaderPath"`
}

type WasmPageAssets

type WasmPageAssets struct {
	WasmModules []WasmModule `json:"wasmModules"`
	JSScripts   []string     `json:"jsScripts"`
}

Jump to

Keyboard shortcuts

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