Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthHandler ¶
type HealthHandler struct {
// contains filtered or unexported fields
}
HealthHandler handles health check requests
func NewHealthHandler ¶
func NewHealthHandler(log logging.Logger, db PingContexter) *HealthHandler
NewHealthHandler creates a new health handler
func (*HealthHandler) HandleHealthCheck ¶
func (h *HealthHandler) HandleHealthCheck(c echo.Context) error
HandleHealthCheck handles health check requests
func (*HealthHandler) Register ¶
func (h *HealthHandler) Register(e *echo.Echo)
Register registers the health check routes
type PingContexter ¶
PingContexter is an interface for database health checks
Click to show internal directories.
Click to hide internal directories.