Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
iamqizhao e10de7abd1 fix some bugs 2015-03-13 00:16:18 -07:00
iamqizhao 5c27dd6a7a fix a bug 2015-03-05 09:45:50 -08:00
iamqizhao aae62e6051 remove unused import 2015-03-05 01:52:17 -08:00
iamqizhao 91a7361187 address some comments 2015-03-04 15:14:52 -08:00
iamqizhao 7bf60c1cd4 addressed some comments 2015-03-04 14:37:12 -08:00
iamqizhao 09fbfbf553 addressed some comments 2015-03-04 13:29:15 -08:00
iamqizhao 8d7b4ade87 addressed some comments 2015-03-04 13:23:39 -08:00
iamqizhao 28ad38be17 close ready when ClientConn closes 2015-03-04 13:00:47 -08:00
iamqizhao c73e40b804 address some review comments 2015-03-04 11:15:10 -08:00
iamqizhao 351e2d0297 add more tests for dial timeout and fix some bugs 2015-03-03 19:06:44 -08:00
iamqizhao a5ca6e56d2 Support timeout for grpc.Dial 2015-03-03 17:08:39 -08:00
iamqizhao 2b993cd479 rename the convenience function to set TLS creds 2015-02-25 22:57:07 -08:00
iamqizhao c42573b827 improve error logging 2015-02-25 16:33:12 -08:00
iamqizhao f63a4eec38 rename an error 2015-02-23 11:51:15 -08:00
iamqizhao 8a32815cd1 err := styple nits 2015-02-22 18:00:33 -08:00
Qi Zhao 2d61160597 rename an error string and desc. 2015-02-22 17:21:06 -08:00
Matt T. Proud 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
iamqizhao 634392a1c6 Remove the 2nd RecvProto in the generated code for client streaming 2015-02-18 22:18:01 -08:00
iamqizhao 6148d0a55d Migrated to the latest google.org/x/oauth2 package and added support for JWT. 2015-02-18 12:02:43 -08:00
David Symonds 416f68f4b3 Update import paths to use the new official location of the Go gRPC package. 2015-02-09 11:46:20 +11:00
David Symonds 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
David Symonds 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