Tit Petric
bc2fad874d
upd(all): update vendor
2018-09-07 16:06:14 +02:00
Tit Petric
f859f9a044
upd(vendor): upgrade sentimensrg ctx package
2018-09-02 20:13:57 +02:00
Denis Arh
247d5d119a
Lowcase path for sigctx pkg
2018-09-02 15:18:34 +02:00
Tit Petric
4dc7f1a2f9
add(all): metrics exporter for prometheus
2018-08-27 15:48:37 +02:00
Tit Petric
7c62652761
upd(vendor): import updated vendor
2018-08-23 11:14:28 +02:00
Tit Petric
c86a6efaea
upd(vendor): import redigo, update other
2018-08-21 13:03:43 +02:00
Denis Arh
d12acbf756
Update deps
2018-08-08 12:57:35 +02:00
Tit Petric
61bc2f96e2
upd(vendor): dep update
2018-08-03 17:20:06 +02:00
Denis Arh
43b416e369
Update titpetric/factory
2018-08-02 22:25:27 +02:00
Tit Petric
49bfdc26f8
add(vendor): gomock
2018-07-30 06:56:03 +02:00
Tit Petric
9bfa4a0554
upd(all): update vendored code
2018-07-29 23:22:36 +02:00
Denis Arh
3768cddbe7
Update titpetric/factor
2018-07-28 09:03:50 +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
6e30992a67
upd(vendor): factory database context, resputil logger
2018-07-23 17:22:10 +02:00
Tit Petric
a7957fa804
add(vendor): import gorilla/websocket
2018-07-19 20:19:20 +02:00
Tit Petric
a583363724
update vendor
2018-07-17 20:57:48 +02:00
Tit Petric
a1cccd23d3
upd(vendor): update factory db with MustGet()
2018-07-17 18:09:13 +02:00
Tit Petric
ea03b5a1ec
upd(vendor): update database profiler
2018-07-17 12:05:16 +02:00
Tit Petric
04154f97f7
add(vendor): import namsral/flag
2018-07-17 11:31:28 +02:00
Tit Petric
70fcdb1f42
make dep.update
2018-07-13 13:29:50 +02:00
Denis Arh
fca62c8f5f
Add .env file reading capabilties and ability to config sam via env variables
...
For dsn & addr: explicit config via flag has priority over env variables. Final failsafe is hardcoded default values
Env variables:
- SAM_DB_DSN
- SAM_HTTP_ADDR
2018-07-12 17:36:54 +02:00
Tit Petric
da66927241
update vendor
2018-07-06 10:20:51 +00:00
Tit Petric
2b68799544
update vendor, add types dependency for json data
2018-07-05 14:07:18 +00:00
Tit Petric
2892ef818d
configure actual sql connections as they should be
2018-07-05 11:17:02 +02:00
Tit Petric
1687480d4c
update vendored deps
2018-07-01 01:45:50 +02:00
Tit Petric
fef6a64085
update package stuff
2018-06-08 18:57:08 +02:00
Tit Petric
5e617c76fb
import main app, dep files
2018-06-03 20:27:00 +02:00