client

package
v0.0.0-...-055cc3d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker interface {
	Connect(callback MessageCallback) error
	Subscribe(topic string) error
}

type Clients

type Clients interface {
	Broker() Broker
}

func NewClients

func NewClients(config dto.Config) Clients

type MessageCallback

type MessageCallback func(message mqtt.Message) error

Jump to

Keyboard shortcuts

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