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.
Click to show internal directories.
Click to hide internal directories.