fully Decentralized functionnal OC-PEER

This commit is contained in:
mr
2026-03-04 11:58:13 +01:00
parent c210522502
commit a91a9d91b6
11 changed files with 417 additions and 146 deletions

View File

@@ -5,7 +5,6 @@ import (
_ "oc-peer/routers"
oclib "cloud.o-forge.io/core/oc-lib"
"cloud.o-forge.io/core/oc-lib/tools"
beego "github.com/beego/beego/v2/server/web"
)
@@ -13,7 +12,6 @@ const appname = "oc-peer"
func main() {
oclib.InitAPI(appname)
go oclib.InitNATSDecentralizedEmitter(tools.PEER)
go infrastructure.ListenNATS()
beego.Run()
}