feat(server): server-run monitor scheduler + REST API
Server Deploy / deploy (push) Successful in 58s

This commit is contained in:
2026-07-21 14:13:26 +01:00
parent 3ec9f1b35f
commit e413009faa
4 changed files with 251 additions and 0 deletions
+4
View File
@@ -11,6 +11,7 @@ import (
"github.com/mrhid6/vantage/server/internal/auth"
"github.com/mrhid6/vantage/server/internal/db"
grpcserver "github.com/mrhid6/vantage/server/internal/grpc"
"github.com/mrhid6/vantage/server/internal/monitorsched"
"github.com/mrhid6/vantage/server/internal/services"
)
@@ -67,6 +68,9 @@ func main() {
}
}()
// Start the server-side monitor scheduler.
monitorsched.Start(context.Background())
// Start REST server
r := gin.New()
r.Use(gin.Recovery())