File tree 3 files changed +3
-4
lines changed
internal/backend/gateway/azureiothub
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ require (
4
4
cloud.google.com/go v0.34.0
5
5
github.com/Azure/azure-service-bus-go v0.4.1
6
6
github.com/NickBall/go-aes-key-wrap v0.0.0-20170929221519-1c3aa3e4dfc5
7
- github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb
7
+ github.com/amenzhinsky/iothub v0.1.0
8
8
github.com/brocaar/lorawan v0.0.0-20190308082318-5ed881e0a2d7
9
9
github.com/eclipse/paho.mqtt.golang v1.1.1
10
10
github.com/elazarl/go-bindata-assetfs v1.0.0
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZq
29
29
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf /go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0 =
30
30
github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb h1:ni2HPOcImx1iqm16mxjZRRzsXcwvzzsi2fZg0lRLvr0 =
31
31
github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb /go.mod h1:5SMEOj96ci5bC7bp/RB1jH44yY5SzQnspyOov8hk39w =
32
+ github.com/amenzhinsky/iothub v0.1.0 h1:nwOWAgRW8WJV8d91NNLUf2Q9sN3OsNyMsE+jactOJhs =
33
+ github.com/amenzhinsky/iothub v0.1.0 /go.mod h1:5SMEOj96ci5bC7bp/RB1jH44yY5SzQnspyOov8hk39w =
32
34
github.com/apex/log v1.1.0 h1:J5rld6WVFi6NxA6m8GJ1LJqu3+GiTFIt3mYv27gdQWI =
33
35
github.com/apex/log v1.1.0 /go.mod h1:yA770aXIDQrhVOIGurT/pVdfCpSq1GQV/auzMN5fzvY =
34
36
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 /go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8 =
Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ func NewBackend(c config.Config) (gateway.Gateway, error) {
82
82
return nil , errors .Wrap (err , "new queue client error" )
83
83
}
84
84
85
- // TODO: migrate to IoT Hub REST API?
86
- // Unfortunately, there is no documentation available on how to use the API:
87
- // https://docs.microsoft.com/en-us/rest/api/iothub/service/senddevicecommand
88
85
b .iotClient , err = iotservice .New (
89
86
iotservice .WithConnectionString (conf .CommandsConnectionString ),
90
87
)
You can’t perform that action at this time.
0 commit comments