sobekengine

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

The sobekhost package provides functionality to execute client-scripts in gost-dom.

This package uses sobek as the script engine, a pure Go JavaScript engine.

If some JavaScript features are not working as intended, [v8engine] proves a script host using the v8 engine; which will support any valid (browser supported) JavaScript that you can throw at it; but has significant overhead, and relies on CGo.

See also: https://github.com/grafana/sobek

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultEngine

func DefaultEngine() html.ScriptEngine

func New deprecated

func New() html.ScriptHost

Deprecated: Don't create script hosts directly, create them through an engine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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