Decentralized Peer Search
This commit is contained in:
2
main.go
2
main.go
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user