jason 075d766964 first 3 rokov pred
..
grpc_reflection_v1alpha 075d766964 first 3 rokov pred
grpc_testing 075d766964 first 3 rokov pred
grpc_testingv3 075d766964 first 3 rokov pred
README.md 075d766964 first 3 rokov pred
serverreflection.go 075d766964 first 3 rokov pred
serverreflection_test.go 075d766964 first 3 rokov pred

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)