Peer Discovery

This commit is contained in:
mr
2026-01-28 16:05:47 +01:00
parent 265798bbc3
commit 65e6a1941c
9 changed files with 53 additions and 609 deletions

View File

@@ -1,7 +1,6 @@
package main
import (
"context"
"oc-peer/conf"
"oc-peer/infrastructure"
_ "oc-peer/routers"
@@ -51,6 +50,6 @@ func main() {
ExposeHeaders: []string{"Content-Length", "Content-Type"},
AllowCredentials: true,
}))
infrastructure.Init(context.Background())
infrastructure.ListenNATS()
beego.Run()
}