Provide example of server reflection.

Service reflection has very poor SEO and unfortunately not great discoverability. Since this package is an entry-point for service reflection, this helps make the process of finding this information easier.
This commit is contained in:
Jean de Klerk 2018-07-06 13:17:08 -07:00
parent 2ff725abb2
commit 92c0727ff6
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ In fact, the way the tool transforms JSON request data into a binary encoded pro
is using that very same schema. So, if the server you interact with does not support is using that very same schema. So, if the server you interact with does not support
reflection, you will need to build "protoset" files that `grpcurl` can use. reflection, you will need to build "protoset" files that `grpcurl` can use.
[Examples for how to set up server reflection can be found here.](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md#known-implementations.)
This repo also provides a library package, `github.com/fullstorydev/grpcurl`, that has This repo also provides a library package, `github.com/fullstorydev/grpcurl`, that has
functions for simplifying the construction of other command-line tools that dynamically functions for simplifying the construction of other command-line tools that dynamically
invoke gRPC endpoints. This code is a great example of how to use the various packages of invoke gRPC endpoints. This code is a great example of how to use the various packages of