3
0
Commit Graph

8 Commits

Author SHA1 Message Date
Tit Petric
adeefdbeaa fix(all):
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Tit Petric
0dd0b44d96 add(sam): basic memory/goroutine monitor 2018-08-03 17:59:00 +02:00
Denis Arh
c02fec809f Redo auth flags 2018-07-28 12:01:33 +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
4d67bd66b0 upd(flags): configure from main fn not flags.go 2018-07-19 20:20:43 +02:00
Tit Petric
2b9903701a upd(main): restructure flags 2018-07-17 11:32:00 +02:00
Tit Petric
5c6d05b9ff update(all): use namsral/flag in main 2018-07-17 11:09:06 +02:00