|
@@ -69,6 +69,8 @@ func TestMqttBinding(t *testing.T) {
|
|
|
},
|
|
|
}, func(c *mqtt_api.Context, i *infrastructure.Infrastructure) {
|
|
|
fmt.Println("Version Middleware")
|
|
|
+ c.Next()
|
|
|
+ fmt.Println("Version Middleware After")
|
|
|
})
|
|
|
|
|
|
mqtt_binding.Bind(mqttBinder, &mqtt_binding.BindItem[map[string]any]{
|
|
@@ -93,6 +95,8 @@ func TestMqttBinding(t *testing.T) {
|
|
|
},
|
|
|
}, func(c *mqtt_api.Context, i *infrastructure.Infrastructure) {
|
|
|
fmt.Println("Hello Middleware")
|
|
|
+ c.Next()
|
|
|
+ fmt.Println("Hello Middleware After")
|
|
|
})
|
|
|
|
|
|
for {
|