Commit 7e29c0e8 by 孙龙

up

parent 696b8741
Showing with 15 additions and 8 deletions
......@@ -34,11 +34,11 @@ config/proxy.toml.http.addr 修改成你的ip地址或者本地127.0.0.1
### .项目启动
http:
http服务:
go run ./cmd/http/main.go -config=./config/dev/ -logdir=./logs/
脚本监听
任务脚本
go run ./cmd/task/main.go -config=./config/dev/ -logdir=./logs/
......@@ -48,10 +48,22 @@ go run ./cmd/task/main.go -config=./config/dev/ -logdir=./logs/
│ ├── common 公共文件
│ | ├── config 公共文件
│ | | ├── http http服务数据库配置文件
│ | | ├── task task任务脚本数据库配置文件
│ ├── controller 业务逻辑访问入口
│ ├── dao 数据层操作(对mysql 等数据操作)
│ | | ├── http 封装的mysql数据库包、redis包
│ | | ├── task 封装的mysql数据包、redis包
│ ├── model 数据层模型 (数据库表定义)
│ └── service 处理业务逻辑
......@@ -297,11 +309,6 @@ func BuildRedisGroupConfigs() ( map[string]RedisGroupDatabase) {
参考文献:
mysql:
......@@ -313,7 +320,7 @@ redis:
go-redis-pool https://github.com/ichunt2019/go-redis-pool
配置文件
配置文件读取
https://github.com/ichunt2019/lxLog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment