6870bdd20f
Merge pull request #46 from iamqizhao/master
...
:authority is a pseudo-header
2015-02-19 13:26:14 -08:00
ad3b2b5492
:authority is a pseudo-header
2015-02-19 13:25:27 -08:00
633cee57c6
Adding a status section
...
Indicating Go is in Alpha.
2015-02-19 11:27:22 -08:00
6370668cd0
Adding a link to documentation.
...
And a few other small readme changes.
2015-02-19 11:21:17 -08:00
0639042e75
Merge pull request #44 from matttproud/refactor/idiomatic-errors
...
Make error conveyance more idiomatic.
2015-02-19 11:01:45 -08:00
a720ae6f48
Make error conveyance more idiomatic.
...
This commit applies two bulk changes to the grpc error reporting
mechanisms:
(1.) Error strings for errors that originate within grpc are prefixed
with the package name for better clarity for where they originate
since they could percolate up in the users call chains to the
originator.
(2.) Errors that are, in fact, singletons have been converted from
fmt.Errorf to errors.New and assigned as package-level variables.
This bodes particularly well for enabling API customers to elect to
handle these errors upon receipt via equality comparison. This had
been previous impossible with the original API.
Supplementarily, ``gofmt -w -s=true`` has been run on the repository to
cleanup residual defects, and it has detected and repaired a few.
TEST=Manual go test ./...
2015-02-19 13:17:17 +01:00
940841bf56
Merge pull request #43 from iamqizhao/master
...
Remove the 2nd RecvProto in the generated code for client streaming
2015-02-18 22:21:08 -08:00
634392a1c6
Remove the 2nd RecvProto in the generated code for client streaming
2015-02-18 22:18:01 -08:00
43c0bbeb1f
Merge pull request #42 from iamqizhao/master
...
Always CloseStream when some error happen (especailly when reading heade...
2015-02-18 14:02:11 -08:00
24d7933267
Always CloseStream when some error happen (especailly when reading header metadata returns an error). That is the only way to remove the stream from ClientTransport.activeStreams.
2015-02-18 14:00:26 -08:00
f760d15dfd
Merge pull request #41 from iamqizhao/master
...
remove a TODO which is not needed
2015-02-18 13:56:39 -08:00
1ebe2fc5be
remove a TODO which is not needed
2015-02-18 13:54:39 -08:00
241a61900a
Merge pull request #40 from iamqizhao/master
...
Migrated to the latest google.org/x/oauth2 package and added support for...
2015-02-18 13:50:57 -08:00
6148d0a55d
Migrated to the latest google.org/x/oauth2 package and added support for JWT.
2015-02-18 12:02:43 -08:00
8af97ae4e4
Merge pull request #39 from iamqizhao/master
...
Make the generated code return nil intead of io.EOF when everything succ...
2015-02-13 17:13:03 -08:00
78d3bc72bf
Make the generated code return nil intead of io.EOF when everything succeeds.
2015-02-13 17:10:37 -08:00
9548db4087
Merge pull request #38 from iamqizhao/master
...
Fix some comments
2015-02-13 16:46:50 -08:00
fe60321708
Fix some comments
2015-02-13 16:43:51 -08:00
7c8904db07
Merge pull request #37 from iamqizhao/master
...
cpp updates interop proto for auth interop testing. Update the proto cor...
2015-02-13 11:14:04 -08:00
a205ce5f65
cpp updates interop proto for auth interop testing. Update the proto correspondingly.
2015-02-13 11:11:33 -08:00
2b1aeaf211
Merge pull request #36 from iamqizhao/master
...
Use the generated code from the upcoming new grpc codegen.
2015-02-12 17:08:16 -08:00
ece135da8b
Use the generated code from upcoming new grpc codegen
2015-02-12 17:04:32 -08:00
7bc6e8d36a
Merge pull request #35 from iamqizhao/master
...
Replace end2end_test proto with the one for interop. The latter is better on testing error and corner cases.
2015-02-11 19:09:53 -08:00
2b6078284c
gofmt on end2end_test.go
2015-02-11 19:05:22 -08:00
9c9eb38d0d
Replace rpc with grpc in a error message.
2015-02-11 19:03:57 -08:00
5c0599c9f0
Use interop proto to replace the one used in end2end_test.go because interop proto is better for testing corner and error cases. The code change is mostly copied/pasted from interop client & server.
2015-02-11 19:00:55 -08:00
ff233bbf2b
Merge pull request #33 from iamqizhao/master
...
fix an error formatting
2015-02-09 19:17:30 -08:00
fd7185b96f
fix an error formatting
2015-02-09 19:16:31 -08:00
7b43d3b019
Merge pull request #32 from iamqizhao/master
...
prepare for google3 porting
2015-02-09 16:41:08 -08:00
38fe463420
add the missing license in the previous commit
2015-02-09 16:39:03 -08:00
f61c1dbb05
rename the proto dir, prepare for porting into google3
2015-02-09 16:35:10 -08:00
00231015a6
Merge pull request #31 from dsymonds/master
...
Add import comments to grpc packages.
2015-02-08 19:13:19 -08:00
3981839a52
Add import comments to grpc packages.
...
This enforces that these packages are used with these import paths.
See http://golang.org/cmd/go/#hdr-Import_path_checking for documentation.
2015-02-09 13:46:16 +11:00
e161b9c071
Fix the missing part of pull#29
2015-02-08 18:29:39 -08:00
dd172600a0
Merge pull request #29 from dsymonds/master
...
Switch to new package layout and import path.
2015-02-08 17:58:09 -08:00
e267906c22
Replace package doc.
2015-02-09 12:39:20 +11:00
49a2ba59b6
Fix up a couple of other imports to use the new package name.
2015-02-09 11:50:54 +11:00
416f68f4b3
Update import paths to use the new official location of the Go gRPC package.
2015-02-09 11:46:20 +11:00
9e789c396b
Rename top level package from "rpc" to "grpc".
...
Also move the nascent package doc to doc.go.
2015-02-09 11:45:33 +11:00
e71095e0ec
Move source files up one level.
...
The top-level directory in this repository is going to be
the main "grpc" package.
2015-02-09 11:33:38 +11:00
2d82d13c3d
Merge pull request #28 from iamqizhao/master
...
make the proto file consist with the generated code
2015-02-06 18:13:47 -08:00
d8734602d6
make the proto file consist with the generated code
2015-02-06 18:11:44 -08:00
7e941223bd
Merge pull request #27 from jayantkolhe/jayantkolhe-patch-1
...
Update README.md
2015-02-06 16:38:48 -08:00
d46994758c
Update README.md
2015-02-06 15:28:38 -08:00
e1ec8497a4
Fix the broken imports due to imgration to grpc
2015-02-06 15:17:54 -08:00
574bfc16f0
Fix the broken imports due to imgration to grpc
2015-02-06 15:07:49 -08:00
c463038273
grpc-go initial commit
2015-02-05 17:14:05 -08:00
81da9cb211
Merge pull request #26 from iamqizhao/master
...
polish the comments of codes.go
2015-02-05 16:17:53 -08:00
2c5ec0ee1b
polish the comments of codes.go
2015-02-05 16:16:45 -08:00
231d636658
Merge pull request #25 from iamqizhao/master
...
Support import_prefix cmdline param
2015-02-05 15:59:47 -08:00