Commit Graph

27 Commits

Author SHA1 Message Date
mikespook
05590bfb8c Info funcs added
--HG--
branch : dev
2012-09-25 15:16:17 +08:00
mikespook
fe5a31a51e fixed resources leaking
--HG--
branch : dev
2012-09-02 22:42:54 +08:00
mikespook
adf3729627 update examples
--HG--
branch : dev
2012-08-30 17:56:10 +08:00
mikespook
b7ee1d68f5 fixed a exec issue, timeout exec need to fix
--HG--
branch : dev
2012-08-30 16:12:15 +08:00
mikespook
83f5f6fa70 fixed the example 2012-06-01 14:28:10 +08:00
mikespook
842edf79ba fixed a infinite loop 2012-05-28 10:34:16 +08:00
mikespook
d6a9025a56 The worker can be working now.
--HG--
branch : 0.1
2012-05-24 16:49:35 +08:00
mikespook
2960cb9953 refacotring worker's code
--HG--
branch : 0.1
rename : worker/jobagent.go => worker/agent.go
rename : worker/workerjob.go => worker/job.go
2012-05-23 17:45:52 +08:00
mikespook
563af037cb fixed client:Job.Encode
--HG--
branch : 0.1
2012-05-23 15:22:29 +08:00
mikespook
7614c2678a make a new branch, refactoring codes
--HG--
branch : 0.1
rename : gearman/client/client.go => client/client.go
rename : gearman/client/client_test.go => client/client_test.go
rename : gearman/client/clientjob.go => client/job.go
rename : gearman/gearman.go => common/gearman.go
rename : gearman/worker/jobagent.go => worker/jobagent.go
rename : gearman/worker/worker.go => worker/worker.go
rename : gearman/worker/worker_test.go => worker/worker_test.go
rename : gearman/worker/workerjob.go => worker/workerjob.go
2012-05-22 20:05:39 +08:00
mikespook
e4172dec11 replease ErrQueue to ErrFunc, add a limitation to executing job 2012-05-10 21:25:33 +08:00
mikespook
f7896651a4 upgraded to the newest golib 2012-04-09 09:26:06 +08:00
mikespook
b8ec3fd242 Modified the api, added the interrupt for the example. 2012-03-27 22:48:03 +08:00
mikespook
e0c1537e8e code refactoring, upgrade to GO1 RC2
--HG--
rename : README => README.md
rename : src/gearman/client.go => gearman/client/client.go
rename : src/gearman/client_test.go => gearman/client/client_test.go
rename : src/gearman/clientjob.go => gearman/client/clientjob.go
rename : src/gearman/gearman.go => gearman/gearman.go
rename : src/gearman/jobagent.go => gearman/worker/jobagent.go
rename : src/gearman/worker.go => gearman/worker/worker.go
rename : src/gearman/worker_test.go => gearman/worker/worker_test.go
rename : src/gearman/workerjob.go => gearman/worker/workerjob.go
2012-03-26 13:32:59 +08:00
mikespook
85a02820fc Upgrade to weekly.2011-12-14 2011-12-28 17:59:44 +08:00
mikespook
e34d969e47 Fix bugs in example codes. 2011-10-09 17:53:55 +08:00
mikespook
e50c4533af gofix for go's weekly version: weekly.2011-09-01 2011-09-05 12:41:53 +08:00
mikespook
28ac570cbc fixed issue #1, user data could contain '\x00' NULL byte now 2011-05-28 12:27:27 +08:00
mikespook
7a4bbcdc55 Format codes by gofmt. 2011-05-24 13:20:22 +08:00
mikespook
82f0ab2cd5 Could not trust os.EOF as the end of msg's mark. 2011-05-24 12:21:49 +08:00
mikespook
2d62a1d5d1 Added python script for testing 2011-05-22 23:02:03 +08:00
mikespook
b4a6f133e1 The first workable version, both worker and client. 2011-05-22 22:16:30 +08:00
mikespook
f6d2a16685 Great. We got it. The client do the job correctly. 2011-05-21 21:11:29 +08:00
mikespook
d8882938f7 no eof got invalid package, would modify the depack method 2011-05-21 12:32:44 +08:00
mikespook
016dd669aa The client can work now...with some known bugs. :( 2011-05-20 17:38:10 +08:00
mikespook
2f4eb65c85 Added the client
--HG--
rename : src/pkg/gearman/gearman_test.go => src/pkg/gearman/worker_test.go
2011-05-19 20:10:53 +08:00
mikespook
a6fab88b22 added the example for worker 2011-05-18 20:24:59 +08:00