si-mqtt

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

gitee.com/Ljolan/si-mqtt

介绍

golang mqtt服务器,集群版【设计中】

使用说明
  • core 包为核心包
  • 项目基础配置在core/config/config.toml里面
  • 添加环境变量 SI_CFG_PATH = "配置文件路径" ,如果不配置,则默认使用core/config/config.toml配置
  • 以package方式 运行 main.go即可
设计可能选择的方案
  1. mysql集群设计
  2. zk+redis+自定义节点通讯
  3. 静态配置启动【当前实现方案】
设计思路

输入图片说明 输入图片说明

系统领域uml设计

uml图、不同包中方法调用图

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
core
cli
message
Package message is an encoder/decoder library for MQTT 3.1 and 3.1.1 messages.
Package message is an encoder/decoder library for MQTT 3.1 and 3.1.1 messages.
service
Package service provides the MQTT Server and Client services in a library form.
Package service provides the MQTT Server and Client services in a library form.
topics
Package topics deals with MQTT topic names, topic filters and subscriptions.
Package topics deals with MQTT topic names, topic filters and subscriptions.
topics/share
共享订阅 共享订阅 共享订阅
共享订阅 共享订阅 共享订阅
topics/sys
共享订阅 系统主题 共享订阅
共享订阅 系统主题 共享订阅
corev5
messagev5
Package message is an encoder/decoder library for MQTT 3.1 and 3.1.1 messages.
Package message is an encoder/decoder library for MQTT 3.1 and 3.1.1 messages.
topicsv5
Package topicsv5 Package topics deals with MQTT topic names, topic filters and subscriptions.
Package topicsv5 Package topics deals with MQTT topic names, topic filters and subscriptions.
topicsv5/share
共享订阅 共享订阅 共享订阅
共享订阅 共享订阅 共享订阅
topicsv5/sys
共享订阅 系统主题 共享订阅
共享订阅 系统主题 共享订阅

Jump to

Keyboard shortcuts

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