1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

refactor(wip): introduce job processing system

refactor: adapt report generation scheduling
This commit is contained in:
Ferdinand Mütsch
2022-11-19 22:21:51 +01:00
parent b1a12a5759
commit e2ef54152d
7 changed files with 204 additions and 88 deletions

View File

@@ -93,8 +93,7 @@ type ISummaryService interface {
type IReportService interface {
Schedule()
SyncSchedule(user *models.User) bool
Run(*models.User, time.Duration) error
SendReport(*models.User, time.Duration) error
}
type ILeaderboardService interface {