Categorygithub.com/kuching/simplemqtt
modulepackage
0.0.0-20201102100334-2cce9ca8ec41
Repository: https://github.com/kuching/simplemqtt.git
Documentation: pkg.go.dev

# README

simplemqtt

一个类gin的MQTT框架(基于paho.mqtt.golang)

# Packages

Package core provides way to send MQTT message.

# Functions

No description provided by the author
No description provided by the author
NewRouter returns a *Router that uses two default middlewares logger and recovery.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Context allows us to pass variables between middleware, manage the flow, validate the JSON of a MQTT Message and render a JSON response.
Group allows us to create MQTT API and manipulate them as a group.
When a response is rendered using context.Respond, it will be recorded in context.keys in the form of Response.
Router allows us to create Group and read/write MQTT message.

# Interfaces

No description provided by the author

# Type aliases

This definition indicates that a handler implementaion must and only has a *Context as parameter .