How can I set a request header in a http middleware that can be used by next routes in golang?

前端 未结 0 874
小鲜肉
小鲜肉 2020-12-02 00:56

I have a auth middleware that checks for sessions cookies. This will check if a session is valid, and if so query the appropriate user based on the session token. The issue

相关标签:
回答
  • 消灭零回复
提交回复
热议问题