mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-15 05:33:47 +08:00
优化响应中间件,自动识别响应数据格式
This commit is contained in:
@@ -67,8 +67,8 @@
|
||||
| --- xxx插件 | 插件模块名称 |
|
||||
| --- --- api | 对外接口。提供服务的输入/输出数据结构定义 |
|
||||
| --- --- --- admin | 后台接口 |
|
||||
| --- --- --- api | 前台通用接口,包含PC页面、uinapp接口等 |
|
||||
| --- --- --- home | 前台PC端页面 |
|
||||
| --- --- --- api | 前台通用接口,包含PC端、移动端接口等 |
|
||||
| --- --- --- home | 前台PC端、H5端页面 |
|
||||
| --- --- --- websocket | 可同时为多应用提供websocket接口 |
|
||||
| --- --- controller | 接收/解析用户输入参数的入口/接口层,也可以理解为控制器 |
|
||||
| --- --- crons | 项目中由系统统一接管的定时任务处理 |
|
||||
@@ -83,8 +83,8 @@
|
||||
| --- main.go | 插件始化文件和模块插拔接口 |
|
||||
| **api** | 对外接口。提供服务的输入/输出数据结构定义 |
|
||||
| --- admin | 后台接口 |
|
||||
| --- api | 前台通用接口,包含PC页面、uinapp接口等 |
|
||||
| --- home | 前台PC端页面 |
|
||||
| --- api | 前台通用接口,包含PC端、移动端接口等 |
|
||||
| --- home | 前台PC端、H5端页面 |
|
||||
| --- websocket | 可同时为多应用提供websocket接口 |
|
||||
| **hack** | 存放项目开发工具、脚本等内容例如,CLI工具的配置,各种shell/bat脚本等文件 |
|
||||
| **internal** | 业务逻辑存放目录通过Golang internal特性对外部隐藏可见性 |
|
||||
|
||||
Reference in New Issue
Block a user