Revert "优化服务退出流程,增加中间件文档"

This reverts commit c511a2e6b3.
This commit is contained in:
maxbad
2023-05-15 23:15:17 +08:00
parent c981d0b8eb
commit 64ed43b7ca
30 changed files with 98 additions and 336 deletions

View File

@@ -13,7 +13,6 @@
- 仅推荐在开发期间快速调试使用,线上实际部署时建议将各个服务分开部署,这样重新部署某个服务时无需全部重启。
```shell
# 默认
go run main.go
@@ -23,7 +22,6 @@ gf run main.go
### HTTP服务
- 启动HTTP服务包含websocket。
```shell
# 默认
go run main.go http
@@ -43,7 +41,7 @@ go run main.go queue
gf run main.go --args "queue"
```
### 定时任务
### 定时任务暂未拆分目前随HTTP服务启动
- 启动系统中统一注册的定时任务。
```shell
@@ -57,8 +55,6 @@ gf run main.go --args "cron"
### 常用工具
- 释放casbin权限用于清理无效的权限设置。
```shell
go run main.go tools -m=casbin -a1=refresh
```
@@ -66,7 +62,6 @@ go run main.go tools -m=casbin -a1=refresh
### Makefile
- 通过make提供一些快捷命令
```shell
# 一键编译,打包前后端代码到可执行文件
make build