mqtt

package
v0.0.0-...-bbdf5ee Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle func(ctx context.Context, client pmqtt.Client, msg pmqtt.Message, ps crouter.Params)

type MQTTMsgServer

type MQTTMsgServer struct {
	// contains filtered or unexported fields
}

func NewMQTTMsgServer

func NewMQTTMsgServer(client pmqtt.Client) *MQTTMsgServer

func (*MQTTMsgServer) Subscribe

func (s *MQTTMsgServer) Subscribe(topic string, qos byte, h Handle) error

Jump to

Keyboard shortcuts

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