chirpnest/mq.go

8 lines
177 B
Go
Raw Normal View History

2019-05-03 05:58:36 +02:00
package main
2019-06-28 10:13:25 +02:00
func (c *MQClient) Open() error {
conn, err := amqp.Dial("amqp://" + c.User + ":" + c.Password + "@" + c.Host + "/" + c.Path)
c.Connection = conn
return null
}