The Go language implementation of gRPC. HTTP/2 based RPC
Go to file
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
codes Add import comments to grpc packages. 2015-02-09 13:46:16 +11:00
compiler Remove the 2nd RecvProto in the generated code for client streaming 2015-02-18 22:18:01 -08:00
credentials Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
interop Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
metadata Add import comments to grpc packages. 2015-02-09 13:46:16 +11:00
test Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
transport Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
LICENSE grpc-go initial commit 2015-02-05 17:14:05 -08:00
README.md Update import paths to use the new official location of the Go gRPC package. 2015-02-09 11:46:20 +11:00
call.go Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
clientconn.go Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
doc.go Add import comments to grpc packages. 2015-02-09 13:46:16 +11:00
rpc_util.go Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
rpc_util_test.go Remove the 2nd RecvProto in the generated code for client streaming 2015-02-18 22:18:01 -08:00
server.go Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00
stream.go Make error conveyance more idiomatic. 2015-02-19 13:17:17 +01:00

README.md

gRPC-Go: a Go implementation of gRPC, Google's RPC library

To install this package, you need to install Go 1.4 and setup your Go workspace on your computer. The simplest way to install the library is to run:

go get google.golang.org/grpc