Commit Graph

67 Commits

Author SHA1 Message Date
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