Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-callback
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
323fc8c7
authored
Aug 20, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
7f3a745c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
README.md
async-task-http
config/dev/db.toml
README.md
View file @
323fc8c7
...
@@ -45,9 +45,9 @@ url:http://192.168.1.252:8700/callback
...
@@ -45,9 +45,9 @@ url:http://192.168.1.252:8700/callback
### .项目启动
### .项目启动
http:
http:
go run ./cmd/http/main.go -config=./config/dev/ -logdir
=
./logs/
go run ./cmd/http/main.go -config=./config/dev/ -logdir
=
./logs/
队列监听:
队列监听:
go run ./cmd/task/main.go -config=./config/dev/ -logdir
=
./logs/
go run ./cmd/task/main.go -config=./config/dev/ -logdir
=
./logs/
##项目的目录结构
##项目的目录结构
...
...
async-task-http
deleted
100644 → 0
View file @
7f3a745c
The file could not be displayed because it is too large.
config/dev/db.toml
View file @
323fc8c7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ShowSQL
=
false
ShowSQL
=
false
[async_task]
[async_task]
data_source_name
=
"lie_async_task:lie_async_task#zsyM@tcp(192.168.1.252:3306)/liexin_async_task?charset=utf8&parseTime=true&loc=Asia%2F
Chongqing
"
data_source_name
=
"lie_async_task:lie_async_task#zsyM@tcp(192.168.1.252:3306)/liexin_async_task?charset=utf8&parseTime=true&loc=Asia%2F
Shanghai
"
max_open_conn
=
20
max_open_conn
=
20
max_idle_conn
=
10
max_idle_conn
=
10
table_prefix
=
""
table_prefix
=
""
...
...
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