Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToBroker ¶
func ConnectToBroker(mqttConf MqttConfig, publish PublishChannel, config *viper.Viper) error
func NewMqttRouter ¶
func NewMqttRouter(publishChannel PublishChannel) *gin.Engine
Types ¶
type MqttConfig ¶
type MqttController ¶
type MqttController struct {
// contains filtered or unexported fields
}
type PublishChannel ¶
type PublishChannel chan Message
Click to show internal directories.
Click to hide internal directories.