Listen nats struct

This commit is contained in:
mr
2026-02-06 11:09:46 +01:00
parent 07abce0e06
commit 1a241183ef
4 changed files with 16 additions and 4 deletions

View File

@@ -1,9 +1,11 @@
package main
import (
"oc-catalog/infrastructure"
_ "oc-catalog/routers"
oclib "cloud.o-forge.io/core/oc-lib"
beego "github.com/beego/beego/v2/server/web"
)
const appname = "oc-catalog"
@@ -11,6 +13,6 @@ const appname = "oc-catalog"
func main() {
// Init the oc-lib
oclib.InitAPI(appname)
infrastructure.ListenNATS()
beego.Run()
}
// TODO VERIFY IF LOOP OF GET VALUE is ENOUGH TO REFRESH