pages

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorPage

func ErrorPage(code int, title, message, retryURL string) g.Node

ErrorPage renders an error page with appropriate styling for the given status code.

func HealthPage

func HealthPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)

HealthPage renders the health checks page with service statuses.

func InternalErrorPage

func InternalErrorPage(detail string) g.Node

InternalErrorPage renders a 500 error page.

func MetricsPage

func MetricsPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)

MetricsPage renders the metrics report page.

func NotFoundPage

func NotFoundPage(basePath string) g.Node

NotFoundPage renders a 404 error page.

func OverviewPage

func OverviewPage(ctx context.Context, c *collector.DataCollector, h *collector.DataHistory) (g.Node, error)

OverviewPage renders the dashboard overview page with stats, widgets, and charts.

func ServiceUnavailablePage

func ServiceUnavailablePage(retryURL string) g.Node

ServiceUnavailablePage renders a 503 error page with optional auto-retry.

func ServicesPage

func ServicesPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)

ServicesPage renders the services list page.

Types

This section is empty.

Jump to

Keyboard shortcuts

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