scripts

package
v0.13.23 Latest Latest
Warning

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

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

Documentation

Overview

Package scripts provides embedded JavaScript for the DevTool proxy instrumentation.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the agnt version to inject into scripts. Set this before calling GetCombinedScript() for the first time.

Functions

func GetAxeCore added in v0.12.8

func GetAxeCore() string

GetAxeCore returns the bundled axe-core JavaScript library.

func GetCombinedScript

func GetCombinedScript() string

GetCombinedScript returns all JavaScript modules combined into a single script. The script is wrapped in appropriate tags and ordered for correct initialization. The result is cached after first call.

func GetScriptNames

func GetScriptNames() []string

GetScriptNames returns the list of embedded script names for debugging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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