statuspage

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderStatus

func RenderStatus(w io.Writer, report *hc.ServiceReport, options ...Option) error

RenderStatus renders the health status page. It accepts functional options to customize rendering behavior.

Types

type Option

type Option func(*renderOptions)

Option defines a function that configures the rendering options.

func WithError

func WithError(err error) Option

WithError provides an option to set an error for rendering.

Jump to

Keyboard shortcuts

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