Closed prakharporwal closed 2 years ago
when a HTTP request comes in I want it to pass via a middleware like the auth middleware to check who is user and is he authorized to make certain actions.
Middleware can be added to gin.Router where is passed the request in a chaining manner.
Done
when a HTTP request comes in I want it to pass via a middleware like the auth middleware to check who is user and is he authorized to make certain actions.