lightwalletd/vendor/google.golang.org/grpc/reflection
Larry Ruane acca1a7c80 Update protoc grpc toolchain to latest
I installed the latest toolchain according to:
https://grpc.io/docs/languages/go/quickstart/

I updated the protoc command line arguments in Makefile based on
that quickstart guide, then I ran: make update-grpc

This has set the tool version (which you can see at the top of
any .pb.go file) to:

protoc-gen-go v1.25.0
protoc        v3.14.0
2021-01-05 18:20:10 -07:00
..
grpc_reflection_v1alpha Update protoc grpc toolchain to latest 2021-01-05 18:20:10 -07:00
README.md cleanup: rename package and vendor dependencies for old go versions 2019-01-03 19:14:51 +00:00
serverreflection.go Update protoc grpc toolchain to latest 2021-01-05 18:20:10 -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)