Add MQTT client wrapper; wire startup publish; support env-config

This commit is contained in:
2025-12-28 15:02:52 +01:00
parent bfe8704f18
commit c866346c06
6 changed files with 220 additions and 4 deletions
+5 -1
View File
@@ -5,11 +5,16 @@ go 1.21
require (
github.com/gin-gonic/gin v1.9.0
github.com/golang-jwt/jwt/v5 v5.0.0
github.com/joho/godotenv v1.5.1
github.com/pelletier/go-toml/v2 v2.0.6
)
require github.com/gorilla/websocket v1.4.2 // indirect
require (
github.com/bytedance/sonic v1.8.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/eclipse/paho.mqtt.golang v1.3.5
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
@@ -21,7 +26,6 @@ require (
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.9 // indirect
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect