File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ require (
66 github.com/eclipse/paho.mqtt.golang v1.2.0
77 github.com/gorilla/mux v1.7.3
88 github.com/liangdas/armyant v0.0.0-20181120080818-50ccc5936868
9- github.com/liangdas/mqant v2.5.0 +incompatible
10- github.com/liangdas/mqant-modules v1.1.0 +incompatible
9+ github.com/liangdas/mqant v2.5.1 +incompatible
10+ github.com/liangdas/mqant-modules v2.5.1 +incompatible
1111 github.com/nats-io/go-nats v1.7.3-0.20190608183121-73ffc26dfe70
1212 github.com/pkg/errors v0.8.1
1313 github.com/yireyun/go-queue v0.0.0-20180809062148-5e6897360dac
Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
103103github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
104104github.com/liangdas/armyant v0.0.0-20181120080818-50ccc5936868 h1:84Vsk7F5AG9kFF1VuWdmY4DR+TbmVVEhKzBnUhOJVg8 =
105105github.com/liangdas/armyant v0.0.0-20181120080818-50ccc5936868 /go.mod h1:AgpkN9LqG5QT47ca4Efu+QZ43DBNn0TLZAMdXbVjXAc =
106- github.com/liangdas/mqant v2.5.0 +incompatible h1:uHlk6y8UbmNR+W2yR3Xtw3BoMYdcytxgkqAFhwQ0rkU =
107- github.com/liangdas/mqant v2.5.0 +incompatible /go.mod h1:I8tAjiMZ7Wi4xw3jxO7TN8MU8oRTYvctIYq//EW5Wpg =
108- github.com/liangdas/mqant-modules v1.1.0 +incompatible h1:N0JENDDQP1lsFpotwQ3mIilznIr2WAUnNbMc2d1lBKA =
109- github.com/liangdas/mqant-modules v1.1.0 +incompatible/go.mod h1:Tai+bdPfbsW3cWhwp2MWXDgsWMZ8xAv8wTfcVo0sW9k =
106+ github.com/liangdas/mqant v2.5.1 +incompatible h1:MS576mzOdKkqZAFS9MhxKuF8utc3RYRAx+3GwD1+Aow =
107+ github.com/liangdas/mqant v2.5.1 +incompatible /go.mod h1:I8tAjiMZ7Wi4xw3jxO7TN8MU8oRTYvctIYq//EW5Wpg =
108+ github.com/liangdas/mqant-modules v2.5.1 +incompatible h1:f6R0ENuxdbbHCBCwUy3MHP3VmOGS8ulQYVDRYHSCsto =
109+ github.com/liangdas/mqant-modules v2.5.1 +incompatible/go.mod h1:lMvfs4zaPrIVj68ae1ivOi/M//k+euV6iddo4bRjXYs =
110110github.com/mattn/go-colorable v0.0.9 /go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU =
111111github.com/mattn/go-isatty v0.0.3 /go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4 =
112112github.com/matttproud/golang_protobuf_extensions v1.0.1 /go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0 =
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ func NewWork(manager *Manager) *Work {
3030 this := new (Work )
3131 this .manager = manager
3232 //opts:=this.GetDefaultOptions("tls://127.0.0.1:3563")
33- opts := this .GetDefaultOptions ("tcp://127.0.0.1:3563" )
34- // opts := this.GetDefaultOptions("ws://127.0.0.1:3653")
33+ // opts := this.GetDefaultOptions("tcp://127.0.0.1:3563")
34+ opts := this .GetDefaultOptions ("ws://127.0.0.1:3653" )
3535 opts .SetConnectionLostHandler (func (client MQTT.Client , err error ) {
3636 fmt .Println ("ConnectionLost" , err .Error ())
3737 })
You can’t perform that action at this time.
0 commit comments