3
0
Commit Graph

4 Commits

Author SHA1 Message Date
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00
Tit Petric
235574bf42 upd(all): pass context from http request to service bridge 2018-07-17 12:23:57 +02:00
Tit Petric
b68337c111 upd(codegen): generate subpackages 2018-07-16 00:13:45 +02:00
Tit Petric
837c10e448 update(all): moved codegen to root /codegen 2018-07-13 17:47:05 +02:00