web_runtime_bootstrap

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPluginBrowserHost

func StartPluginBrowserHost(
	ctx context.Context,
	b bus.Bus,
	sr *static.Resolver,
) (func(), error)

StartPluginBrowserHost starts the browser plugin host controller.

Types

type RuntimeStack

type RuntimeStack struct {
	WebRuntime web_runtime.WebRuntime
	// contains filtered or unexported fields
}

RuntimeStack contains the started browser runtime stack.

func StartRuntimeStack

func StartRuntimeStack(
	ctx context.Context,
	le *logrus.Entry,
	b bus.Bus,
	opts RuntimeStackOpts,
) (*RuntimeStack, error)

StartRuntimeStack starts the browser WebRuntime.

func (*RuntimeStack) Release

func (s *RuntimeStack) Release()

Release releases the runtime stack in reverse startup order.

type RuntimeStackOpts

type RuntimeStackOpts struct {
	WebRuntimeID   string
	MessagePort    string
	StaticResolver *static.Resolver
}

RuntimeStackOpts configures startup of the browser runtime stack.

Jump to

Keyboard shortcuts

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