Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTChannel ¶
type MQTTChannel struct {
*channels.BaseChannel
// contains filtered or unexported fields
}
MQTTChannel implements the Channel interface for MQTT-based communication.
func NewMQTTChannel ¶
func NewMQTTChannel(bc *config.Channel, cfg *config.MQTTSettings, b *bus.MessageBus) (*MQTTChannel, error)
NewMQTTChannel creates a new MQTT channel instance.
func (*MQTTChannel) Send ¶
func (c *MQTTChannel) Send(_ context.Context, msg bus.OutboundMessage) ([]string, error)
Send publishes a response to the client via MQTT.
Click to show internal directories.
Click to hide internal directories.