go-ozzo / ozzo-routing

An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
MIT License
455 stars 51 forks source link

For ozzo routing jwt auth, how to specify which api functions don't need auth? #56

Closed chenze4949 closed 4 years ago

qiangxue commented 4 years ago

jwt auth is a middleware which you use for those routes that need auth.