|
|
@ -1,5 +1,3 @@ |
|
|
|
Copyright 2016 Google Inc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Documentation |
|
|
|
# Documentation |
|
|
|
|
|
|
|
|
|
|
|
grift is integration of [Apache Thrift](https://github.com/apache/thrift.git) Serializer with gRPC. |
|
|
|
grift is integration of [Apache Thrift](https://github.com/apache/thrift.git) Serializer with gRPC. |
|
|
@ -10,12 +8,12 @@ grift uses Compact Protocol to serialize thrift messages. |
|
|
|
|
|
|
|
|
|
|
|
## generating grpc plugins for thrift services |
|
|
|
## generating grpc plugins for thrift services |
|
|
|
|
|
|
|
|
|
|
|
###CPP |
|
|
|
### C++ |
|
|
|
```sh |
|
|
|
```sh |
|
|
|
$ thrift --gen cpp <thrift-file> |
|
|
|
$ thrift --gen cpp <thrift-file> |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
###JAVA |
|
|
|
### Java |
|
|
|
```sh |
|
|
|
```sh |
|
|
|
$ thrift --gen java <thrift-file> |
|
|
|
$ thrift --gen java <thrift-file> |
|
|
|
``` |
|
|
|
``` |
|
|
|