UseMiddleware appends a middleware handler to the API middleware stack. The middleware stack for any API will execute before searching for a matching route to a specific handler, which provides opportunity to respond early, change the course of the request execution, or set request-scoped values fo
(middlewares ...func(ctx Context, next func(Context)))
| 286 | // change the course of the request execution, or set request-scoped values for |
| 287 | // the next Middleware. |
| 288 | UseMiddleware(middlewares ...func(ctx Context, next func(Context))) |
| 289 | |
| 290 | // Middlewares returns a slice of middleware handler functions that will be |
| 291 | // run for all operations. Middleware are run in the order they are added. |
no outgoing calls