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(connection *database.Connection, brokerLib broker.IBroker) *Handler
func (*Handler) Get ¶
func (h *Handler) Get(w http.ResponseWriter, _ *http.Request)
@Tags Health @Description Check if application is healthy @ID health @Accept json @Produce json @Success 200 {object} entities.Response @Failure 200 {object} entities.Response @Router /auth/health [get] @Security ApiKeyAuth
Click to show internal directories.
Click to hide internal directories.