Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultDialTimeOut = 30
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mqtt5Client ¶
type Mqtt5Client struct {
// contains filtered or unexported fields
}
func NewMqtt5Client ¶
func NewMqtt5Client(config config.Mqtt5Config) Mqtt5Client
NewMqtt5Client create, initializes and returns new instance of Mqtt5Client
func (*Mqtt5Client) Disconnect ¶
func (c *Mqtt5Client) Disconnect() error
Disconnect closes the connection to the connected MQTT server.
func (*Mqtt5Client) SetAuthData ¶
func (c *Mqtt5Client) SetAuthData(secretProvider interfaces.SecretProvider, logger log.Logger) error
SetAuthData retrieves and sets up auth data from secret provider according to AuthMode and SecretName
Click to show internal directories.
Click to hide internal directories.