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

263 Коммитов

Автор SHA1 Сообщение Дата
iamqizhao 450bbf71af fix a typo 2015-02-25 16:39:41 -08:00
iamqizhao ff86d2a1ee Merge branch 'master' of https://github.com/grpc/grpc-go 2015-02-25 16:35:14 -08:00
iamqizhao c42573b827 improve error logging 2015-02-25 16:33:12 -08:00
Daniel Wang 385ff1a296 Remove generated code from source 2015-02-25 15:52:16 -08:00
Daniel Wang 9c8fb9517b Fix README 2015-02-25 15:45:56 -08:00
Daniel Wang d58af39ead Change tls_server_name to server_host_override and improve README 2015-02-25 15:43:26 -08:00
Daniel Wang 401343c0dc Fix typos in comments 2015-02-25 15:10:15 -08:00
Qi Zhao 0b87c0b78d Merge pull request #62 from iamqizhao/master
Update CONTRIBUTING.md
2015-02-25 14:06:05 -08:00
Qi Zhao e66bb7d2f3 Update CONTRIBUTING.md 2015-02-25 14:05:02 -08:00
Qi Zhao da186968b4 Update CONTRIBUTING.md 2015-02-25 14:04:10 -08:00
Qi Zhao 23b5b8c32c Update CONTRIBUTING.md 2015-02-25 14:03:45 -08:00
Qi Zhao 10a1f5913e Merge pull request #52 from matttproud/refactor/constrained-err-scope
Gracefully deny supplemental transport shutdowns.
2015-02-25 12:47:55 -08:00
Matt T. Proud 6340c9ec1d Gracefully deny supplemental transport shutdowns.
This commit ensures that transport shutdowns do not panic on
supplemental shutdowns, even if users should not attempt multiple
shutdowns.  This is done to make the surface for users a little more
forgiving.

The _transport suffix in these implementation filenames are dropped
since they are already part of the transport package, which makes
the specification both redundant and adds stutter.

TEST=``go test ./...``
2015-02-25 21:42:08 +01:00
Daniel Wang a4b32d7c6c Use Sprintf instead of concatenation 2015-02-25 12:11:38 -08:00
Daniel Wang 8fd7702f97 Make route guide implementation more go idiomatic 2015-02-25 12:08:12 -08:00
Qi Zhao 9dfb326236 Merge pull request #61 from iamqizhao/master
change grpc/transport to transport in error messages
2015-02-25 11:23:03 -08:00
iamqizhao 491fdc57f4 change grpc/transport to transport in error messages 2015-02-25 11:21:34 -08:00
Qi Zhao fdfd8baec4 Merge pull request #60 from iamqizhao/master
rename --tls_server_name to --server_host_override for the interop clien...
2015-02-24 18:48:29 -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
Daniel Wang a94c062d9b Fix README 2015-02-24 12:41:18 -08:00
Daniel Wang 7ffe7b2473 Use the golang import path 2015-02-24 12:40:48 -08:00
Daniel Wang 3041c94cd0 Add an implementation of route guide server and client 2015-02-24 12:30:01 -08:00
Qi Zhao 1700c57107 Merge pull request #57 from grpc/mugurm-patch-1
Create CONTRIBUTING.md
2015-02-23 17:27:02 -08:00
Mugur Marculescu 6853eea481 Create CONTRIBUTING.md
A half filled contributing readme file.
2015-02-23 17:24:47 -08:00
Qi Zhao c80b6b8973 Merge pull request #56 from iamqizhao/master
rename an error
2015-02-23 11:52:09 -08:00
iamqizhao f63a4eec38 rename an error 2015-02-23 11:51:15 -08:00
Qi Zhao e44eba4d2d Merge pull request #55 from iamqizhao/master
Add GCE and JWT interop tests
2015-02-23 11:12:04 -08:00
iamqizhao d6af38a7dc Add GCE and JWT interop tests 2015-02-23 11:10:18 -08:00
Qi Zhao 2b4fb6c958 Merge pull request #54 from iamqizhao/master
err := styple nits
2015-02-22 18:01:45 -08:00
iamqizhao 8a32815cd1 err := styple nits 2015-02-22 18:00:33 -08:00
Qi Zhao 8694dc4d77 Merge pull request #53 from iamqizhao/master
rename an error string and desc and check in a missing former change.
2015-02-22 17:23:38 -08:00
Qi Zhao 2d61160597 rename an error string and desc. 2015-02-22 17:21:06 -08:00
iamqizhao 265a75b74b fix date format in codegen.sh 2015-02-20 11:05:26 -08:00
Qi Zhao bbd8084138 Merge pull request #50 from iamqizhao/master
migrate to the new codegen solution
2015-02-19 18:46:00 -08:00
iamqizhao 2f821c8afc migrate to the new codegen solution 2015-02-19 18:43:28 -08:00
Jayant Kolhe a864c122fc Merge pull request #45 from mugurm/mugurm-patch-1
Adding a link to documentation.
2015-02-19 16:57:25 -08:00
Qi Zhao 0fd7205b5f Merge pull request #49 from iamqizhao/master
Let RecvProto return nil for client stream rpc
2015-02-19 16:50:58 -08:00
iamqizhao fc10c7b40c Let RecvProto return nil for client stream rpc 2015-02-19 16:48:59 -08:00
Qi Zhao 350d065180 Merge pull request #48 from iamqizhao/master
Remove port when assignning to CallHdr.Host
2015-02-19 13:56:22 -08:00
iamqizhao dbe8c6ed11 Remove port when assignning to CallHdr.Host 2015-02-19 13:55:18 -08:00
Qi Zhao f60b56c6d8 Merge pull request #47 from iamqizhao/master
fix a comment
2015-02-19 13:36:19 -08:00
iamqizhao bdce4ae018 fix a comment 2015-02-19 13:35:28 -08:00
Qi Zhao 6870bdd20f Merge pull request #46 from iamqizhao/master
:authority is a pseudo-header
2015-02-19 13:26:14 -08:00
iamqizhao ad3b2b5492 :authority is a pseudo-header 2015-02-19 13:25:27 -08:00
Mugur Marculescu 633cee57c6 Adding a status section
Indicating Go is in Alpha.
2015-02-19 11:27:22 -08:00
Mugur Marculescu 6370668cd0 Adding a link to documentation.
And a few other small readme changes.
2015-02-19 11:21:17 -08:00
Qi Zhao 0639042e75 Merge pull request #44 from matttproud/refactor/idiomatic-errors
Make error conveyance more idiomatic.
2015-02-19 11:01:45 -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
Qi Zhao 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
iamqizhao 634392a1c6 Remove the 2nd RecvProto in the generated code for client streaming 2015-02-18 22:18:01 -08:00