module
0.0.0-20230627025447-6d0effa5c203
Repository: https://github.com/tinkler/mqttadmin.git
Documentation: pkg.go.dev
# README
Mqttadmin
A development tool for mqtt In the future, it will be a tool for mqtt management and monitoring But now it's just a tool for generating service router and mqtt client code
English | 简体中文
Dependencies
- gorm
- RabbitMQ
Requirements
- Go 1.20 or higher
install
go install github.com/tinkler/mqttadmin/cmd/gen
or
git clone github.com/tinkler/mqttadmin
cd mqttadmin/cmd/gen
go install
Use
Create a new project under your GOPATH using go mod
init.
Place a gen.yaml file in the project root and make the neccessary change you need.
Then run
gen .
This project has modified some common models, Such as user, role and permission, which can be found in the pkg/model directory. The generated route files was located in pkg/route directory.
Future
Here is a list of supported generation options
- chi_route Chi framework route
- proto protocol buffer
- gsrv gRPC server
- dart Flutter Dio
- ts XMLHttpRequest
- angular_delon Delon service
- swagger swagger api doc (In processing)
Link
ClanCloud a Saas project base on mqttadmin
License
The MIT License
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author