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 NewHealthHandler ¶
func NewHealthHandler(broker brokerService.IBroker, brokerConfiguration brokerConfig.IConfig, databaseConnection *database.Connection, authConGRPC grpc.ClientConnInterface, appConfig appConfiguration.IConfig) *Handler
func (*Handler) Get ¶
func (h *Handler) Get(w netHTTP.ResponseWriter, _ *netHTTP.Request)
Get @Tags Health @Description Check if Health of service it's OK! @ID health @Accept json @Produce json @Success 200 {object} entities.Response{content=string} "OK" @Failure 500 {object} entities.Response{content=string} "INTERNAL SERVER ERROR" @Router /api/health [get]
Click to show internal directories.
Click to hide internal directories.