feat: auto start workers

This commit is contained in:
Rogee
2024-12-16 16:59:48 +08:00
parent 66d0cd507c
commit 71c285b892
10 changed files with 133 additions and 5 deletions

View File

@@ -2,7 +2,6 @@ package middlewares
import (
"github.com/gofiber/fiber/v3"
log "github.com/sirupsen/logrus"
)
func (f *Middlewares) DebugMode(c fiber.Ctx) error {
@@ -10,6 +9,5 @@ func (f *Middlewares) DebugMode(c fiber.Ctx) error {
// host := c.BaseURL()
// fmt.Println(strings.Split(c.Path(), "/"))
// return c.SendString("ABC" + c.Params("+"))
log.SetLevel(log.DebugLevel)
return c.Next()
}