types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrontendConfig

type FrontendConfig struct {
	Host     string
	Port     int
	SiteName string
	Debug    bool
	Pprof    bool
	Minify   bool

	// AuthProviderURL is the canonical URL of the remote authenticatoor
	// service. Tokens are validated against its JWKS, and the SPA picks
	// it up via /api/runtime-config to load <url>/client.js.
	AuthProviderURL string

	// InjectHeadHTML is a raw HTML snippet (typically <script>/<meta>/<link>
	// tags) injected into <head> of the served SPA after the runtime-config
	// script. Set per deployment; commonly used for the global ethPandaOps
	// panda menu loader or analytics. When empty, the BUILDOOR_INJECT_HEAD_HTML
	// env var is consulted as a fallback.
	InjectHeadHTML string

	// OverviewURL points at the multi-instance overview UI. When non-empty
	// it is published to the SPA via window.ethpandaops.buildoor.config so
	// the dashboard can render a top-nav "Overview" link back to the shared
	// landing page.
	OverviewURL string
}

Jump to

Keyboard shortcuts

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