client

package
v0.0.0-...-dc71cc2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	MQTT *mqtt.Client
}

func New

func New(host string, port int, clientID string, initStore *storage.Storage) Client

func (Client) Connect

func (client Client) Connect() mqtt.Token

func (Client) Disconnect

func (client Client) Disconnect()

Jump to

Keyboard shortcuts

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