Рыба проекта. Минимальная функциональность

This commit is contained in:
2026-08-03 22:22:24 +03:00
commit 8c8631ac9c
80 changed files with 10618 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package domain
import "context"
// Scheduler is the abstraction for a recurring job scheduler.
type Scheduler interface {
// Start begins executing the scheduled job.
Start()
// Stop halts the scheduler and returns a context that is cancelled
// once all in-flight jobs have completed.
Stop() (stoppedCtx context.Context)
}