We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e831787 commit 05bbad6Copy full SHA for 05bbad6
cmd/server/main.go
@@ -14,6 +14,7 @@ import (
14
"google.golang.org/grpc"
15
"google.golang.org/grpc/codes"
16
"google.golang.org/grpc/metadata"
17
+ "google.golang.org/grpc/reflection"
18
"google.golang.org/grpc/status"
19
20
echov1 "github.com/e-flux-platform/echo-grpc/gen/go/road/echo/v1"
@@ -53,6 +54,7 @@ func run(ctx context.Context, listenAddr string) error {
53
54
55
srv := grpc.NewServer()
56
echov1.RegisterEchoServiceServer(srv, &server{})
57
+ reflection.Register(srv)
58
59
eg, ctx := errgroup.WithContext(ctx)
60
eg.Go(func() error {
0 commit comments