commit | 7346c871b018d255a1d89b3f814a645cc9c5e356 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Thu Feb 04 21:14:01 2016 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Feb 12 00:16:28 2016 +0000 |
tree | cac61a8c5ef464199f2efe16ca320ae85fa4f6b0 | |
parent | 3c4302b7131d2b14bb9c8aff7aa909bc20540145 [diff] |
Add a ServeHTTP method to *grpc.Server This adds new http.Handler-based ServerTransport in the process, reusing the HTTP/2 server code in x/net/http2 or Go 1.6+. All end2end tests pass with this new ServerTransport. Fixes grpc/grpc-go#75 Also: Updates grpc/grpc-go#495 (lets user fix it with middleware in front) Updates grpc/grpc-go#468 (x/net/http2 validates) Updates grpc/grpc-go#147 (possible with x/net/http2) Updates grpc/grpc-go#104 (x/net/http2 does this)
#gRPC-Go
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start guide.
To install this package, you need to install Go 1.4 or above and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get google.golang.org/grpc
This requires Go 1.4 or above.
The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.
See API documentation for package and API descriptions and find examples in the examples directory.
Beta release