Help us shape the future of Go! Take the 2026 Go Developer Survey

scripts

command
v1.3.104-alpha1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

gen_proxy_stubs reads pkg/visor/api.go's API interface and emits proxy_default_api.go — one method per API entry returning ErrProxyNotSupported (or zero values for non-error returns).

go run /tmp/gen_proxy_stubs.go > pkg/visor/proxy_default_api.go
then hand-edit any zero-value return that needs different shape.

Directories

Path Synopsis
Command stage-playground writes the playground's embedded page assets — bundle.js (the browseui desk bundle) inflated) — into the directory given as the first argument.
Command stage-playground writes the playground's embedded page assets — bundle.js (the browseui desk bundle) inflated) — into the directory given as the first argument.
Command tabshot captures a PNG screenshot of an existing CDP page target.
Command tabshot captures a PNG screenshot of an existing CDP page target.
evallat command
Command evallat times CDP Runtime.evaluate round-trips on one open socket, isolating the evaluate from process startup and dial cost.
Command evallat times CDP Runtime.evaluate round-trips on one open socket, isolating the evaluate from process startup and dial cost.
hardreload command
Command hardreload reloads a CDP page target bypassing the HTTP cache — what a stale cached bundle needs after the server was rebuilt.
Command hardreload reloads a CDP page target bypassing the HTTP cache — what a stale cached bundle needs after the server was rebuilt.
jseval command
the JSON result — direct Runtime.evaluate, no serve-harness needed.
the JSON result — direct Runtime.evaluate, no serve-harness needed.
nav command
Command nav navigates a CDP page target to a URL — the missing half of hardreload for driving a fresh tab (PUT /json/new?url= no longer navigates in current Chromium).
Command nav navigates a CDP page target to a URL — the missing half of hardreload for driving a fresh tab (PUT /json/new?url= no longer navigates in current Chromium).
profile command
Command profile samples a CDP page target's JS CPU profile for N seconds and prints the hottest functions by self time — the diagnostic for "the wasm desk tab pegs a core": a spin loop names itself at the top of this list, where a screenshot or eval cannot (evals queue behind the spin; the profiler runs in the inspector and samples through it).
Command profile samples a CDP page target's JS CPU profile for N seconds and prints the hottest functions by self time — the diagnostic for "the wasm desk tab pegs a core": a spin loop names itself at the top of this list, where a screenshot or eval cannot (evals queue behind the spin; the profiler runs in the inspector and samples through it).

Jump to

Keyboard shortcuts

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