grpc-go/reflection
Menghan Li 59cb69e66d Fix misspells (#1531) 2017-09-20 14:55:57 -07:00
..
grpc_reflection_v1alpha Fix misspells (#1531) 2017-09-20 14:55:57 -07:00
grpc_testing go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
grpc_testingv3 Add support for grpc.SupportPackageIsVersion3 back (#1331) 2017-06-22 13:56:59 -07:00
README.md Minor fixes 2016-06-27 12:01:05 -07:00
serverreflection.go go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
serverreflection_test.go Add new Resolver and Balancer APIs (gRFC L9) (#1408) 2017-08-31 10:59:09 -07:00

README.md

Reflection

Package reflection implements server reflection service.

The service implemented is defined in: https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1alpha/reflection.proto.

To register server reflection on a gRPC server:

import "google.golang.org/grpc/reflection"

s := grpc.NewServer()
pb.RegisterYourOwnServer(s, &server{})

// Register reflection service on gRPC server.
reflection.Register(s)

s.Serve(lis)