Commit Graph

25 Commits

Author SHA1 Message Date
Peter Edge 7b50c34edb add make proto and update protos 2015-05-24 16:14:32 +02:00
iamqizhao 3617cd5ab3 revert handshaker changes 2015-05-12 17:59:20 -07:00
Peter Edge 7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
Peter Edge 101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
Peter Edge 5700d19d0e Fix golint errors for non-generated code 2015-05-08 21:46:16 +02:00
iamqizhao 0f85408fd4 Eliminate proto.Unmarshal in the generated code 2015-04-27 14:47:09 -07:00
iamqizhao 571bcddd7c Add cancel_after_begin and cancel_afer_first_response test cases 2015-04-22 15:04:17 -07:00
iamqizhao 8b08b2d7b2 Interface change to accommodate the support of non-protobuf data formats 2015-03-25 15:18:07 -07:00
iamqizhao 2b993cd479 rename the convenience function to set TLS creds 2015-02-25 22:57:07 -08:00
iamqizhao c5f55a615d revert 2015-02-25 18:53:11 -08:00
iamqizhao eebb1f0588 init serverName correctly 2015-02-25 18:48:21 -08:00
iamqizhao ba60f33ca1 rename --tls_server_name to --server_host_override for the interop client to make it consistent with other languages 2015-02-24 18:47:19 -08:00
iamqizhao d6af38a7dc Add GCE and JWT interop tests 2015-02-23 11:10:18 -08:00
iamqizhao 2f821c8afc migrate to the new codegen solution 2015-02-19 18:43:28 -08:00
iamqizhao fc10c7b40c Let RecvProto return nil for client stream rpc 2015-02-19 16:48:59 -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 78d3bc72bf Make the generated code return nil intead of io.EOF when everything succeeds. 2015-02-13 17:10:37 -08:00
iamqizhao a205ce5f65 cpp updates interop proto for auth interop testing. Update the proto correspondingly. 2015-02-13 11:11:33 -08:00
iamqizhao ece135da8b Use the generated code from upcoming new grpc codegen 2015-02-12 17:04:32 -08:00
iamqizhao f61c1dbb05 rename the proto dir, prepare for porting into google3 2015-02-09 16:35:10 -08:00
David Symonds 49a2ba59b6 Fix up a couple of other imports to use the new package name. 2015-02-09 11:50:54 +11: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