vmq

package module
v0.0.0-...-24bcd71 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 9 Imported by: 2

README

vmq

golang mqtt clent (undone)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DIAL_TIMEOUT = 3 * time.Second

net dial timeout

Functions

func New

func New(name string, network string, addr string, port int) *vmq

Types

type VMQ_STATUS

type VMQ_STATUS int

vmq state machine

const (
	STATUS_IDLE         VMQ_STATUS = iota // no net conn
	STATUS_CONNECTING                     // no conn ack
	STATUS_CONNECTED                      // recive connack
	STATUS_DISCONNECTED                   // disconnected
)

Directories

Path Synopsis
enum about packet
enum about packet

Jump to

Keyboard shortcuts

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