3
0

7 Commits

Author SHA1 Message Date
Tit Petric
30d12b4041 upd(codegen): update some basic templates 2018-09-04 15:38:05 +02:00
Tit Petric
ca47286a60 upd(codegen): refactor for handlers/requests separation 2018-08-29 17:20:46 +02:00
Tit Petric
d2f0ab908b upd(codegen): re-add minimal type generation 2018-08-15 18:08:39 +02:00
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