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

console

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Overview

Package console embeds the built console assets into the binary (R-253).

The React source lives in the top-level console/ directory and is built into this package's dist/ by `make console`. The two directories are different things and should not be merged.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() (http.Handler, bool)

Handler serves the console.

Mounted on Pando's own paths and never as a catch-all: the fallback route belongs to the proxy (R-023), because "there is no bypass" is structural — a path that is not one of Pando's own is a request to an app. A console mounted as the fallback would shadow every app whose slug it did not recognize, and the failure would look like the app had disappeared.

Returns false when the console was not built, so a developer running `go run` without `make console` gets a plain message rather than a panic at startup or a blank page.

Types

This section is empty.

Jump to

Keyboard shortcuts

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