Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_framework_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7e29c0e8
authored
Oct 13, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
696b8741
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
README.md
README.md
View file @
7e29c0e8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment