中间件

原文: https://docs.gofiber.io/category/-middleware

🧬 Middleware 中间件

Middleware is a function chained in the HTTP request cycle with access to the Context which it uses to perform a specific action, for example, logging every request or enabling CORS.

​ 中间件是在 HTTP 请求周期中链接的一个函数,它可以访问 Context,并使用 Context 来执行特定操作,例如记录每个请求或启用 CORS。

最后修改 February 5, 2024: 更新 (f57b279)