Zen Huifer
Zen Huifer
I JUST RUN APP. log : 2024-08-26 09:19:28 error go-iot/mqtt.go:60 失去链接: pingresp not received, disconnecting 2024-08-26 09:19:28 error go-iot/mqtt.go:63 失去链接,id: TT_93 ,error pingresp not received, disconnecting: [ERROR] [client] disconnect called...
log file ``` [DEBUG] [net] startIncomingComms: got msg on ibound [DEBUG] [net] startIncomingComms: received publish, msgId: 0 [DEBUG] [client] disconnecting [DEBUG] [client] calling WaitTimeout [DEBUG] [client] WaitTimeout done [DEBUG] [client]...
[test-2024-08-27T11-02-52.656.log](https://github.com/user-attachments/files/16755955/test-2024-08-27T11-02-52.656.log)
sample code : ``` package main import ( "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "github.com/google/uuid" "go.uber.org/zap" "log" "strconv" "time" ) var ccc = make(map[int]mqtt.Client) func main1() { InitLog() zap.S().Infof("启动") for i := range...
code ``` package main import ( "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "github.com/google/uuid" "go.uber.org/zap" "log" "strconv" "time" ) var ccc = make(map[int]mqtt.Client) func main1() { InitLog() zap.S().Infof("启动") for i := range 100 {...
Attention: I have a program that keeps sending data ``` import ( "bufio" "encoding/json" "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "go.uber.org/zap" "log" "math/rand" "os" "strconv" "strings" "time" ) func main2() { InitLog() mqtt.ERROR...
I modified the program but still have problems ``` package main import ( "context" "encoding/json" "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "go.uber.org/zap" "time" ) // MqttInterface 定义了MQTT客户端的基本接口 type MqttInterface struct { client mqtt.Client...
OH NO ``` package main import ( "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "go.uber.org/zap" "sync" "time" ) // MqttInterface 定义了MQTT客户端的基本接口 type MqttInterface struct { client mqtt.Client Id string Chan chan []byte Config MqttConfig...
I think you can append such a configuration information to the `tauri.conf.json` file bundle=>macOS=>dmg ``` "files": [ { "name": "", "path": "", "x": "", "y": "" } ] ``` https://github.com/tauri-apps/tauri/blob/b37741da6a2d3dad71490c910a64eeedda2ba9ca/crates/tauri-bundler/src/bundle/macos/dmg/mod.rs#L65C1-L68C39...
How should I revise this question @FabianLars