mqtt

package
v0.0.4-0...-7259d3a Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MQTT 3.1.1 ConnAck code
	CodeUnacceptableVersion   = 1 // Packet: ConnAck
	CodeIdentifierRejected    = 2 // Packet: ConnAck
	CodeServerUnavailable     = 3 // Packet: ConnAck
	CodeBadUsernameOrPassword = 4 // Packet: ConnAck
	CodeUnauthorized          = 5 // Packet: ConnAck
)

nicked from github.com/goiiot/libmqtt

Variables

This section is empty.

Functions

func AddZygoFuncs

func AddZygoFuncs(z *zygo.Zlisp)

func BarFunc

func BarFunc(env *zygo.Zlisp, name string, args []zygo.Sexp) (zygo.Sexp, error)

func New

func New(cfg uber.PluginConfig) (z uber.Plugin, err error)

func ReasonString

func ReasonString(code byte) string

Types

type Event

type Event struct {
	Msg string
	TS  time.Time
}

Jump to

Keyboard shortcuts

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