This website works better with JavaScript.
Home
Explore
Help
Sign In
yuxh
/
gearman-go
Watch
1
Star
0
Fork
1
Code
Issues
0
Pull Requests
0
Releases
6
Wiki
Activity
Browse Source
Merge pull request
#23
from 300brand/feature-recall
Bring back ability to get function name
tags/0.2
Xing
10 years ago
parent
26ea07a917
94b00affec
commit
7f46dbc038
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
worker/inpack.go
+1
-0
worker/job.go
+ 4
- 0
worker/inpack.go
View File
@@ -24,6 +24,10 @@ func (inpack *inPack) Data() []byte {
return inpack.data
}
func (inpack *inPack) Fn() string {
return inpack.fn
}
func (inpack *inPack) Handle() string {
return inpack.handle
}
+ 1
- 0
worker/job.go
View File
@@ -3,6 +3,7 @@ package worker
type Job interface {
Err() error
Data() []byte
Fn() string
SendWarning(data []byte)
SendData(data []byte)
UpdateStatus(numerator, denominator int)
Write
Preview
Loading…
Cancel
Save