Datacenter Update to Ws
This commit is contained in:
5
main.go
5
main.go
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"oc-datacenter/conf"
|
||||
"oc-datacenter/infrastructure"
|
||||
"oc-datacenter/infrastructure/nats"
|
||||
_ "oc-datacenter/routers"
|
||||
|
||||
oclib "cloud.o-forge.io/core/oc-lib"
|
||||
@@ -30,9 +31,9 @@ func main() {
|
||||
|
||||
infrastructure.BootstrapAllowedImages()
|
||||
|
||||
go infrastructure.ListenNATS()
|
||||
go nats.ListenNATS()
|
||||
go infrastructure.WatchBookings()
|
||||
go infrastructure.WatchInfra()
|
||||
go infrastructure.Watch()
|
||||
|
||||
beego.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user