Decentralized

This commit is contained in:
mr
2026-02-23 18:10:47 +01:00
parent 2ccbfe93ed
commit c8b8955c4b
7 changed files with 1311 additions and 81 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"oc-scheduler/infrastructure"
_ "oc-scheduler/routers"
oclib "cloud.o-forge.io/core/oc-lib"
@@ -11,5 +12,8 @@ const appname = "oc-scheduler"
func main() {
oclib.InitAPI(appname)
go infrastructure.ListenNATS()
go infrastructure.InitSelfPlanner()
go infrastructure.ListenConfirm()
beego.Run()
}