Commit Graph

27 Commits

Author SHA1 Message Date
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
mikespook
2d62a1d5d1 Added python script for testing 2011-05-22 23:02:03 +08:00
mikespook
da43d2efe5 Tall server 'reset it' and clean the map. 2011-05-22 22:43:14 +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
c5b9f19962 Added 'Do' function to the client. 2011-05-19 23:29:34 +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
bf0c48b87f Fixed a bug, that encoding the job but without the handle infomation. 2011-05-19 14:39:31 +08:00
mikespook
a6fab88b22 added the example for worker 2011-05-18 20:24:59 +08:00
mikespook
50411ee1a9 The worker's protocol can work now. See example/worker.go
--HG--
rename : src/pkg/gearman/job.go => src/pkg/gearman/worker/job.go
rename : src/pkg/gearman/jobclient.go => src/pkg/gearman/worker/jobclient.go
2011-05-18 19:40:03 +08:00
mikespook
ed5d1951ef Added worker.Write 2011-05-17 20:32:36 +08:00
mikespook
f1d7cdee50 fixed the test 2011-05-17 18:22:12 +08:00
mikespook
ecbc4f5945 Job server can echo sth. to worker now. Added files. 2011-05-17 18:13:17 +08:00
mikespook
dcd42b5c91 Job server can echo sth. to worker now. 2011-05-17 18:12:40 +08:00
mikespook
364744ff92 Native way is better than c-wrap. 2011-05-16 17:26:32 +08:00
mikespook
d7a1ea0e6b Added a socket client, just for test. 2011-03-16 20:34:07 +08:00
mikespook
153066eb03 finished some worker's apis. 2011-03-15 20:21:42 +08:00