Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller definition.
func NewController ¶
func NewController(gCheck *health.PhylaxCheck, repo *storage.Repository, consumer *sqs.Consumer, isLocal bool, alertClient alert.AlertClient, logger *zap.Logger) *Controller
NewController creates a Controller instance.
func (*Controller) HealthCheck ¶
func (c *Controller) HealthCheck(ctx *fiber.Ctx) error
HealthCheck handler for the endpoint /health.
func (*Controller) ReadyCheck ¶
func (c *Controller) ReadyCheck(ctx *fiber.Ctx) error
ReadyCheck handler for the endpoint /ready
Click to show internal directories.
Click to hide internal directories.