Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusOK = 200 StatusBadRequest = 400 StatusNotFound = 404 StatusInternalServerError = 500 PathRoot = "/" PathHealth = "/health" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a struct that holds the common dependencies for all endpoint handlers
func (*Handler) HealthCheck ¶
HealthCheck is used by our deployment validation step to measure application health Path - /health
Click to show internal directories.
Click to hide internal directories.