Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthzHandler ¶ added in v0.5.1
NewHealthzHandler creates an HTTP handler that serves the canonical liveness response. It returns HTTP 200 with body `{"status":"ok"}` and Content-Type: application/json. The handler is dependency-free: it never touches Kafka, BoltDB, Sentry, or any other subsystem, so it can only ever fail by reporting "the process is down" (process exit / listener gone).
func NewSentryAlertHandler ¶
NewSentryAlertHandler creates an HTTP handler that sends a test alert to Sentry. It captures an exception with additional context data to verify Sentry integration.
func NewTestLoglevelHandler ¶
NewTestLoglevelHandler creates an HTTP handler that tests different glog verbosity levels. It logs messages at various levels to verify logging configuration.
Types ¶
This section is empty.