mqtt_client

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MqttClient

type MqttClient struct {
	ClientId  string
	BrokerUrl string
	Username  string
	Password  string
	//SkipTLSVerification bool
	//NumberOfMessages    int
	//Timeout             time.Duration
	//Retained            bool
	//PublisherQoS        byte
	//SubscriberQoS       byte
	Client *MQTT.Client
}

func (*MqttClient) NewMqttClient

func (mqttClient *MqttClient) NewMqttClient() *MQTT.Client

*

  • 新建mqtt客户端

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL