Updated formatting
This commit is contained in:
parent
1bf2caf5e3
commit
b081afa286
16
README.md
16
README.md
|
|
@ -26,14 +26,18 @@ See "handling directory nodes" section
|
||||||
|
|
||||||
## compiling .proto
|
## compiling .proto
|
||||||
Proto files are stored in /proto. The proto files defined the interface of etcdv3.
|
Proto files are stored in /proto. The proto files defined the interface of etcdv3.
|
||||||
You can compile it like this(if you are running this command inside /proto folder)
|
|
||||||
* $ protoc -I . --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./rpc.proto
|
You can compile it like this(if you are running this command inside /proto folder):
|
||||||
* $ protoc -I . --cpp_out=. ./*.proto
|
```
|
||||||
|
protoc -I . --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./rpc.proto
|
||||||
|
protoc -I . --cpp_out=. ./*.proto
|
||||||
|
```
|
||||||
|
|
||||||
Protofiles for etcdv3 can be found here:
|
Protofiles for etcdv3 can be found here:
|
||||||
* https://github.com/coreos/etcd/tree/master/auth/authpb
|
* https://github.com/coreos/etcd/tree/master/auth/authpb
|
||||||
* https://github.com/coreos/etcd/tree/master/etcdserver/etcdserverpb
|
* https://github.com/coreos/etcd/tree/master/etcdserver/etcdserverpb
|
||||||
* https://github.com/coreos/etcd/tree/master/mvcc/mvccpb
|
* https://github.com/coreos/etcd/tree/master/mvcc/mvccpb
|
||||||
|
|
||||||
Note: Protofiles in the project is not sync to the protofiles in etcd master branch. If you
|
Note: Protofiles in the project is not sync to the protofiles in etcd master branch. If you
|
||||||
want to update the protofiles in this project, you need to manually update it.
|
want to update the protofiles in this project, you need to manually update it.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue