Boost Azure Demo
This commit is contained in:
16
Backend/internal/handlers/web/root/root.go
Normal file
16
Backend/internal/handlers/web/root/root.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package root
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
type Handler struct{}
|
||||
|
||||
func NewHandler() *Handler {
|
||||
return &Handler{}
|
||||
}
|
||||
|
||||
func (h *Handler) Index(c *fiber.Ctx) error {
|
||||
return c.JSON(fiber.Map{
|
||||
"name": "BoostAI Backend",
|
||||
"status": "ok",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user