Setup AMQP connection on startup

parent 47386994
......@@ -152,6 +152,7 @@ func main() {
config.ParseSettings()
db.SetupPostgres(config.Settings.Connections.PostgreSQL)
mq.SetupAMQP(config.Settings.Connections.AMQP)
context := &db.APIContext{
Config: *config.Settings,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment