test
This commit is contained in:
parent
2a26d2f067
commit
e70e4677cd
2
mq.go
2
mq.go
@ -7,5 +7,5 @@ import (
|
|||||||
func (c *MQClient) Open() error {
|
func (c *MQClient) Open() error {
|
||||||
conn, err := amqp.Dial("amqp://" + c.User + ":" + c.Password + "@" + c.Host + "/" + c.Path)
|
conn, err := amqp.Dial("amqp://" + c.User + ":" + c.Password + "@" + c.Host + "/" + c.Path)
|
||||||
c.Connection = conn
|
c.Connection = conn
|
||||||
return null
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user