grpc-go/examples/features/reflection
Doug Fawley 44d73dff99
cmd/protoc-gen-go-grpc: rework service registration (#3828)
2020-08-25 09:28:01 -07:00
..
server cmd/protoc-gen-go-grpc: rework service registration (#3828) 2020-08-25 09:28:01 -07:00
README.md examples: reflection (#2594) 2019-01-25 15:35:01 -08:00

README.md

Reflection

This example shows how reflection can be registered on a gRPC server.

See https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md for a tutorial.

Try it

go run server/main.go

There are multiple existing reflection clients.

To use gRPC CLI, follow https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md#grpc-cli.

To use grpcurl, see https://github.com/fullstorydev/grpcurl.