Commit Graph

218 Commits

Author SHA1 Message Date
mikespook
16f134a30a fixed the merge error 2012-05-28 10:43:08 +08:00
mikespook
3e7b5d6cf3 merge 2012-05-28 10:36:08 +08:00
mikespook
842edf79ba fixed a infinite loop 2012-05-28 10:34:16 +08:00
mikespook
a8f7c8ab9d Read a empty data means connection error 2012-05-24 21:17:06 +08:00
mikespook
0d6d1e114f promoted the README 2012-05-24 19:57:06 +08:00
mikespook
43745ebe69 tweaking 2012-05-24 19:29:36 +08:00
mikespook
4643031855 Added tag go1-0.1 for changeset 7928d7ed58bc 2012-05-24 19:24:12 +08:00
mikespook
b266c0cfe4 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 19:23:16 +08:00
mikespook
c2a594400d Removed tag 2011-05-24, native.start 2012-05-24 19:22:49 +08:00
mikespook
dcdafaca70 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 19:22:15 +08:00
mikespook
f14964bc81 add timeout to client.Do 2012-05-24 19:21:30 +08:00
mikespook
ba2c3721c8 Added tag go1-0.1 for changeset a3b64f831c51 2012-05-24 17:26:36 +08:00
mikespook
517a3af333 Removed tag 0.0.1 2012-05-24 17:26:20 +08:00
mikespook
a2ec177d2b Added tag go1-0.0.1 for changeset dee83cac69e0 2012-05-24 17:25:55 +08:00
mikespook
f62b2c405c merge 0.1 to default 2012-05-24 17:07:00 +08:00
mikespook
bd2478557e fixing for 'go install'
--HG--
branch : 0.1
2012-05-24 16:56:36 +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
bcb7f5d9ec Added tag 0.0.1 for changeset dee83cac69e0 2012-05-22 23:03:08 +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
59e061e094 merge 2012-03-28 11:33:12 +08:00
mikespook
b1bfc93f91 all jobs should be done, befor processing loop exited. 2012-03-28 11:27:57 +08:00
mikespook
b8ec3fd242 Modified the api, added the interrupt for the example. 2012-03-27 22:48:03 +08:00
mikespook
79e383a639 added new lines. 2012-03-26 14:10:15 +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
5c13b0923b rename the jobClient into jobAgent.
--HG--
rename : src/gearman/jobclient.go => src/gearman/jobagent.go
2011-10-11 11:20:01 +08:00
mikespook
e34d969e47 Fix bugs in example codes. 2011-10-09 17:53:55 +08:00
mikespook
68801a66fe the Job was out of use. 2011-09-26 14:25:14 +08:00
mikespook
4b8306e3bd For the goinstall command, move files out of sub-dir.
--HG--
rename : src/gearman/client/job.go => src/gearman/clientjob.go
rename : src/gearman/worker/jobclient.go => src/gearman/jobclient.go
rename : src/gearman/worker/job.go => src/gearman/workerjob.go
2011-09-26 11:56:24 +08:00
mikespook
e902ac0573 Move the source files from src/ to src/gearman/.
--HG--
rename : src/Makefile => src/gearman/Makefile
rename : src/client.go => src/gearman/client.go
rename : src/client/job.go => src/gearman/client/job.go
rename : src/client_test.go => src/gearman/client_test.go
rename : src/gearman.go => src/gearman/gearman.go
rename : src/worker.go => src/gearman/worker.go
rename : src/worker/job.go => src/gearman/worker/job.go
rename : src/worker/jobclient.go => src/gearman/worker/jobclient.go
rename : src/worker_test.go => src/gearman/worker_test.go
2011-09-17 16:53:17 +08:00
mikespook
4bf2f63f4d Move the source files from src/pkg/gearman to src/.
--HG--
rename : src/pkg/gearman/Makefile => src/Makefile
rename : src/pkg/gearman/client.go => src/client.go
rename : src/pkg/gearman/client/job.go => src/client/job.go
rename : src/pkg/gearman/client_test.go => src/client_test.go
rename : src/pkg/gearman/gearman.go => src/gearman.go
rename : src/pkg/gearman/worker.go => src/worker.go
rename : src/pkg/gearman/worker/job.go => src/worker/job.go
rename : src/pkg/gearman/worker/jobclient.go => src/worker/jobclient.go
rename : src/pkg/gearman/worker_test.go => src/worker_test.go
2011-09-17 16:41:28 +08:00
mikespook
c66d460235 damn 2011-09-06 18:04:14 +08:00
mikespook
c167025a3a a test for filenames
--HG--
rename : src/pkg/gearman/client_job.go => src/pkg/gearman/clientjob.go
rename : src/pkg/gearman/worker_job.go => src/pkg/gearman/workerjob.go
rename : src/pkg/gearman/worker_jobclient.go => src/pkg/gearman/workerjobclient.go
2011-09-06 16:38:49 +08:00
mikespook
baf23ea5e1 revert package name 2011-09-06 16:34:38 +08:00
mikespook
bb1d756cb4 fixed for goinstall
--HG--
rename : src/pkg/gearman/client/job.go => src/pkg/gearman/client_job.go
rename : src/pkg/gearman/worker/job.go => src/pkg/gearman/worker_job.go
rename : src/pkg/gearman/worker/jobclient.go => src/pkg/gearman/worker_jobclient.go
2011-09-06 16:31:15 +08:00
mikespook
e50c4533af gofix for go's weekly version: weekly.2011-09-01 2011-09-05 12:41:53 +08:00
mikespook
6290a8ace6 Added benchmark for uint to byte or byte to uint. 2011-06-20 15:43:17 +08:00
Jonathan Wills
22866616cd splitByteArray -> bytes.Split, fixed bug in the process. 2011-05-29 01:54:02 -04:00
mikespook
28ac570cbc fixed issue #1, user data could contain '\x00' NULL byte now 2011-05-28 12:27:27 +08:00
mikespook
76f61da7ff do not export the raw read() and write() 2011-05-27 14:33:53 +08:00
mikespook
a8e7241a55 Added tag native.start for changeset 0dc8bc71d7e8 2011-05-25 11:14:03 +08:00
mikespook
ba521f65b8 Added tag 2011-05-24 for changeset b68aee2a4881 2011-05-24 17:08:07 +08:00
mikespook
1ad734ceb4 Added upload.py for codereview; README in Chinese. 2011-05-24 14:53:50 +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
7eb966bc36 Added some comments. 2011-05-23 12:15:48 +08:00