Refactor import paths to use internal/pkg/httpx/params
- Updated multiple repository and service files to replace imports from "github.com/mlogclub/simple/web/params" with "cs-agent/internal/pkg/httpx/params". - Adjusted context handling in auth_service and ws_service to use gin.Context instead of iris.Context. - Ensured consistent usage of HTTP status responses across websocket handlers.
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
if err := app.Listen(cfg.Server.Address()); err != nil {
|
||||
if err := app.Run(cfg.Server.Address()); err != nil {
|
||||
slog.Error("start server failed", "error", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user