Commit Graph
4 Commits
Author SHA1 Message Date
Denis Arh 5a347dddb5 Types structs reduced & simplified 2018-07-29 16:37:41 +02:00
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 5aae6e9001 upd(all): move rest implementation into subpkg 2018-07-16 00:35:01 +02:00
Tit Petric b68337c111 upd(codegen): generate subpackages 2018-07-16 00:13:45 +02:00