start adding mqtt
This commit is contained in:
parent
e91bd9a38d
commit
ada91d1c56
1
go.mod
1
go.mod
@ -7,6 +7,7 @@ toolchain go1.23.1
|
||||
require (
|
||||
github.com/cortesi/devd v0.0.0-20200427000907-c1a3bfba27d8
|
||||
github.com/cortesi/modd v0.8.1
|
||||
github.com/eclipse/paho.mqtt.golang v1.5.0
|
||||
github.com/mdomke/git-semver/v6 v6.9.0
|
||||
github.com/rs/zerolog v1.33.0
|
||||
github.com/spf13/cobra v1.8.1
|
||||
|
||||
2
go.sum
2
go.sum
@ -57,6 +57,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8Yc
|
||||
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
|
||||
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
|
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
|
||||
github.com/eclipse/paho.mqtt.golang v1.5.0 h1:EH+bUVJNgttidWFkLLVKaQPGmkTUfQQqjOsyvMGvD6o=
|
||||
github.com/eclipse/paho.mqtt.golang v1.5.0/go.mod h1:du/2qNQVqJf/Sqs4MEL77kR8QTqANF7XU7Fk0aOTAgk=
|
||||
github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU=
|
||||
github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
|
||||
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
|
||||
|
||||
7
mqtt/mqtt.go
Normal file
7
mqtt/mqtt.go
Normal file
@ -0,0 +1,7 @@
|
||||
package mqtt
|
||||
|
||||
import mqtt "github.com/eclipse/paho.mqtt.golang"
|
||||
|
||||
func init() {
|
||||
mqtt.NewClient()
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user