Documentation
¶
Index ¶
- func ErrorPage(code int, title, message, retryURL string) g.Node
- func HealthPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)
- func InternalErrorPage(detail string) g.Node
- func MetricsPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)
- func NotFoundPage(basePath string) g.Node
- func OverviewPage(ctx context.Context, c *collector.DataCollector, h *collector.DataHistory) (g.Node, error)
- func ServiceUnavailablePage(retryURL string) g.Node
- func ServicesPage(ctx context.Context, c *collector.DataCollector) (g.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorPage ¶
ErrorPage renders an error page with appropriate styling for the given status code.
func HealthPage ¶
HealthPage renders the health checks page with service statuses.
func InternalErrorPage ¶
InternalErrorPage renders a 500 error page.
func MetricsPage ¶
MetricsPage renders the metrics report page.
func NotFoundPage ¶
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 ¶
ServiceUnavailablePage renders a 503 error page with optional auto-retry.
func ServicesPage ¶
ServicesPage renders the services list page.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.