You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
8 years ago
|
# gRPC-Go
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/grpc/grpc-go.svg)](https://travis-ci.org/grpc/grpc-go) [![GoDoc](https://godoc.org/google.golang.org/grpc?status.svg)](https://godoc.org/google.golang.org/grpc)
|
||
|
|
||
|
The Go implementation of [gRPC](http://www.grpc.io/): A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the [gRPC Quick Start](http://www.grpc.io/docs/) guide.
|
||
|
|
||
|
Installation
|
||
|
------------
|
||
|
|
||
|
To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:
|
||
|
|
||
|
```
|
||
|
$ go get google.golang.org/grpc
|
||
|
```
|
||
|
|
||
|
Prerequisites
|
||
|
-------------
|
||
|
|
||
|
This requires Go 1.6 or later.
|
||
|
|
||
|
Constraints
|
||
|
-----------
|
||
|
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](http://godoc.org/google.golang.org/grpc?imports), you need a discussion with gRPC-Go authors and consultants.
|
||
|
|
||
|
Documentation
|
||
|
-------------
|
||
|
See [API documentation](https://godoc.org/google.golang.org/grpc) for package and API descriptions and find examples in the [examples directory](examples/).
|
||
|
|
||
|
Status
|
||
|
------
|
||
|
GA
|
||
|
|
||
|
FAQ
|
||
|
---
|
||
|
|
||
|
#### Compiling error, undefined: grpc.SupportPackageIsVersion
|
||
|
|
||
|
Please update proto package, gRPC package and rebuild the proto files:
|
||
|
- `go get -u github.com/golang/protobuf/{proto,protoc-gen-go}`
|
||
|
- `go get -u google.golang.org/grpc`
|
||
|
- `protoc --go_out=plugins=grpc:. *.proto`
|