broker

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Server *mqtt.Server

Functions

func Close

func Close()

func GinHandler

func GinHandler(ctx *gin.Context)

func Open

func Open(cfg Options) error

Types

type Options

type Options struct {
	Enable bool   `json:"enable"`
	Type   string `json:"type"`
	Addr   string `json:"addr"`
}

func Default

func Default() Options

Jump to

Keyboard shortcuts

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