Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for health check actions
func NewHealthController ¶
func NewHealthController(database *mongo.Database) *Controller
NewHealthController creates a new health controller
func (*Controller) GetHealth ¶
func (c *Controller) GetHealth(ctx *gin.Context)
GetHealth returns the health status of the API
Click to show internal directories.
Click to hide internal directories.