File: README.md

package info (click to toggle)
golang-google-grpc 1.64.0-7
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie, trixie-proposed-updates
  • size: 13,272 kB
  • sloc: sh: 1,096; makefile: 72
file content (21 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
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.