Commit Graph

5 Commits

Author SHA1 Message Date
b4a7668ca4
fix: (redis) parse redis dsn 2022-05-05 19:58:27 +03:00
a68ae5a9eb
fix: (redis) bootstrap connection struct properly 2022-05-05 19:39:25 +03:00
9c6310440c
refactor: syncer structure and async bootstrapping
- asynq bootstrap handlers
- graceful shutdown of goroutines
- remove unnecessary global App struct
- unmarhsal toml/env to koanf struct
2022-05-05 15:01:34 +03:00
1c65a11460
add: ussd and cache syncer tasks
- no repeat on failure, picked up on next schedule
- enforce uniq on users and tx table to prevent duplicates
2022-05-03 21:37:48 +03:00
05ab865c63
add: token syncer
core:
- add koanf for runtime config loading
- cicnet connection must dial else panic
- add db connection init
- add goyesql for convenient querying
- add async tasker processor (scheduler, processor)

dev:
- add redis server to dev docker-compose
- update volume to prune-able local
2022-05-03 18:54:51 +03:00