wasmbridge

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Package wasmbridge transfers query results from Go to JavaScript.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryResult

func QueryResult(columns []string, rows [][]any, errMsg string, count int, elapsedNs int64) any

QueryResult preserves the native-object query response. For larger primitive result sets, one JSON.parse replaces per-cell syscall/js boundary crossings. Small responses and values whose JSON semantics differ retain ValueOf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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