Commit 9e5679a8 authored by zhengxiuming's avatar zhengxiuming

mq

parent 1d90c494
......@@ -2,10 +2,11 @@ package mq
import (
"fmt"
"github.com/streadway/amqp"
)
var mqUrl = "amqp://admin:admin@172.17.36.64:5672/"
var mqUrl = "amqp://admin:Dbc_rabbit_mq123@39.97.234.228:5682/"
// 除了simple 模式外、其他的模式都是由 队列 交换机 key 不同组合实现的
type RabbitMQ struct {
......
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