Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(svc service.HealthService) *Handler
func (*Handler) RegisterRoutes ¶
func (h *Handler) RegisterRoutes(router *gin.Engine, _ handler.RouteMiddlewares)
RegisterRoutes godoc
@Id Health @Summary Health @Description Request for getting health status. In response will be status of all check (database, minio, smtp, redis). @Tags Metrics API @Accept json @Produce json @Success 200 {object} []dto.HealthOutput @Router /health [get]
Click to show internal directories.
Click to hide internal directories.