Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MqttService ¶
type MqttService struct {
	Endpoint     string
	User         string
	Password     string
	ClientID     string
	Cleansession bool
	Qos          byte
	Logger *zap.Logger
	Client mqtt.Client
	// contains filtered or unexported fields
}
    func (*MqttService) LogMessage ¶
func (m *MqttService) LogMessage(c mqtt.Client, msg mqtt.Message)
func (*MqttService) OnConnect ¶
func (m *MqttService) OnConnect(c mqtt.Client)
func (*MqttService) Sub ¶
func (m *MqttService) Sub(topic string, handle mqtt.MessageHandler)
 Click to show internal directories. 
   Click to hide internal directories.