add basic scheduler
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-06 22:24:56 +01:00
parent be6403105c
commit ed2e15a3dd
12 changed files with 109 additions and 2 deletions

View File

@@ -2,6 +2,8 @@ package app
import (
"log/slog"
"git.front.kjuulh.io/kjuulh/orbis/internal/scheduler"
)
type App struct {
@@ -17,3 +19,7 @@ func NewApp() *App {
func (a *App) Logger() *slog.Logger {
return a.logger
}
func (a *App) Scheduler() *scheduler.Scheduler {
return scheduler.NewScheduler(a.logger)
}