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