You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I create a middleware that calls a function after a handler executes but before the response is written?
An example usage is if I create a custom context that has Session map that get's modified in a handler. Calling a sess.Save(c.Request(), c.Response()) after next(c) doesn't work. My guess is since the response has already been written by c.JSON(...).