66 Commits

Author SHA1 Message Date
03efde21c5 Support import_prefix cmdline param 2015-02-03 17:27:51 -08:00
0f6fd6e2c3 Support import_prefix cmdline param 2015-02-03 17:26:15 -08:00
afe57a6648 remove tmp dir 2015-02-03 16:48:50 -08:00
801d1972f4 Merge pull request #23 from iamqizhao/master
Revise codegen plugin to accommodate more cases and fix some bugs
2015-02-03 16:42:35 -08:00
4a1cba09a6 add a comment 2015-02-02 17:05:03 -08:00
0f4f9d04d3 resolved some comments 2015-02-02 17:02:29 -08:00
55680c22a1 i) Eliminate the global vars; ii) properly handle the case that an external imported package contains multiple files; and iii) some function name touch-up 2015-02-02 16:37:58 -08:00
40dc264aaf Revise codegen plugin to accommodate more cases and fix some bugs 2015-01-30 18:27:23 -08:00
796d00c003 Make grpc-go proto plugin better: i) support external imports; ii) do not generate *_grpc.pb.go file if there is no service defined; ii) add more comment to gen.sh 2015-01-29 18:07:54 -08:00
363fb13a4a Merge pull request #22 from iamqizhao/master
Fix the broken import path in the generated code
2015-01-29 13:39:50 -08:00
ec01f31e1a Fix the broken import path in the generated code 2015-01-29 13:38:54 -08:00
d194e8c6b2 Merge pull request #21 from iamqizhao/master
Add metadata.New back
2015-01-28 22:50:54 -08:00
f1ef727170 Add metadata.New back 2015-01-28 22:49:38 -08:00
199f601651 Merge pull request #20 from iamqizhao/master
Tune metadata package a bit.
2015-01-28 16:08:37 -08:00
be58fe3a09 Fix the missing test in the previous commit 2015-01-28 16:04:05 -08:00
c52694457f Tune metadata package to simplify the code. 2015-01-28 15:59:12 -08:00
f4284f88c2 Merge pull request #19 from iamqizhao/master
Tune metadata package a bit.
2015-01-28 13:55:19 -08:00
f3abfd9f63 Delete unnecessary logic 2015-01-28 13:53:44 -08:00
a485dd0375 change MD to type MD map[string]string 2015-01-28 13:49:18 -08:00
3e6466f7dc Merge pull request #18 from iamqizhao/master
Remove a log.Print in the test to avoid spamming
2015-01-28 13:29:23 -08:00
2098bc80fd Remove a log.Print in the test to avoid spamming 2015-01-28 13:28:34 -08:00
1cf44714db Merge pull request #17 from iamqizhao/master
run gofmt
2015-01-27 18:13:19 -08:00
3befeb9b91 run gofmt 2015-01-27 18:12:14 -08:00
079097bda4 Merge pull request #16 from iamqizhao/master
Deal with 0 timeout.
2015-01-27 17:59:27 -08:00
0cb60b3154 fix a bug in the preivous commit. 2015-01-27 17:56:55 -08:00
330d92ae90 If a crappy client sends grpc-timeout 0 to the server. The server cannot
distinguish between unset and set-with-0. Make it be able to.
2015-01-27 17:54:18 -08:00
3c1cc34559 Merge pull request #15 from iamqizhao/master
Fix the setup for no-TLS case.
2015-01-27 17:44:25 -08:00
56dc3ff095 Fix the setup for no-TLS case. 2015-01-27 17:40:23 -08:00
fd7a465e20 Merge pull request #14 from iamqizhao/master
Allow --tls_ca_file= to use the host's root CA set in interop client.
2015-01-27 16:33:58 -08:00
6d347a8be7 Allow --tls_ca_file= to use the host's root CA set in interop client. 2015-01-27 15:51:10 -08:00
0a69864858 Merge pull request #13 from iamqizhao/master
Given a tiny timeout, NewStream could timeout before a stream is created...
2015-01-26 19:09:43 -08:00
9f80723bc5 Given a tiny timeout, NewStream could timeout before a stream is created. In
that case we must not call hpack.Encoder.WriteField because hpack.Encoder is
stateful.
2015-01-26 19:07:37 -08:00
c1aeefca8a Merge pull request #12 from iamqizhao/master
Polish some comments
2015-01-23 17:20:49 -08:00
8fd8a8b400 Polish some comments 2015-01-23 17:15:08 -08:00
03270869cf Merge pull request #11 from iamqizhao/master
i) Fix some English errors; ii) Let ClientTransport.Close() and ServerTr...
2015-01-23 16:42:08 -08:00
890b893b80 i) Fix some English errors; ii) Let ClientTransport.Close() and ServerTransport.Close() return error to follow the style of io.Closer 2015-01-23 16:14:23 -08:00
d39e3afd3f Merge pull request #10 from iamqizhao/master
Correct the ServerName setting for TLS credentials.
2015-01-23 15:06:18 -08:00
0bc4587a2c Correct the ServerName setting for TLS credentials. 2015-01-23 15:00:56 -08:00
dbefa7c3d0 Merge pull request #9 from iamqizhao/master
directory reconstruction
2015-01-22 18:52:57 -08:00
2991390717 fix typo 2015-01-22 18:48:55 -08:00
e5a5eb12dc Fix the missed import path changes. 2015-01-22 18:36:45 -08:00
5a8bbe621b remove some files 2015-01-22 18:21:02 -08:00
58c506b1f6 Merge branch 'master' of https://github.com/iamqizhao/grpc-go 2015-01-22 18:19:42 -08:00
3ca141a6ab Restructure the directory so that the basename of the import path matches the Go package name. 2015-01-22 18:04:06 -08:00
119fdf93ba Merge pull request #8 from iamqizhao/master
Fix license and readme
2015-01-22 15:58:27 -08:00
8310928c9b Update README.md 2015-01-22 15:57:15 -08:00
ba40de08ec Insert a newline after license text 2015-01-22 15:54:20 -08:00
4d7e0c3396 Merge pull request #7 from iamqizhao/master
interop tune up
2015-01-22 14:46:17 -08:00
7bfd879f7c i) make interop client supports all test case; ii) make interop client flexible to accept server name override for tls handshake verification; iii) fix interop server error format. 2015-01-22 14:40:01 -08:00
e3b09082bf Merge pull request #1 from google/master
Update README.md
2015-01-22 13:38:12 -08:00