Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
go-crontab
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
bbb6a2d1
authored
Apr 30, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update readme.md
parent
e1782c3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
readme.md
readme.md
View file @
bbb6a2d1
go run .
\w
orker
\m
ain
\w
orker.go -config=./worker
\m
ain
\w
orker.json
go build -o {path}/cmd/worker {path}/worker/main/worker.go
\ No newline at end of file
** master:**
主要负责接收后台对任务的管理 提供api接口
go run .
\m
aster
\m
ain
\m
aster.go -config= .
\m
aster
\m
ain
\m
aster.json
** worker:**
监听任务,执行任务,任务调度
go run .
\w
orker
\m
ain
\w
orker.go -config=./worker
\m
ain
\w
orker.json -logDir=./logs/worker
项目框架解析:
供学习爱好者
!
[
avatar
](
http://img.ichunt.com/images/ichunt/github/7284e422b8f388375017149554441ec1.jpeg
)
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