browser

package
v0.0.0-...-8d71137 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Package browser implements the main loop for the browser side wasm code

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, endpoint string) (err error)

Main runs the main loop of the browser side of things. It is _critical_ your main package calls gob.Register() on your shared model types. This call is blocking, and should be the last thing your main package's main function calls. exit with non-0 to the system if error is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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