Decentralized Peer Search

This commit is contained in:
mr
2026-02-23 17:18:16 +01:00
parent ac700deca5
commit c210522502
5 changed files with 112 additions and 1 deletions

View File

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