health

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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) Health

func (h *Handler) Health(c *gin.Context)

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]

Jump to

Keyboard shortcuts

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