package
0.0.0-20211127015421-6236971f8de2
Repository: https://github.com/gogo/grpc-example.git
Documentation: pkg.go.dev

# README

Client example

This shows a small example of using a client to connect to the gRPC server. It shows how a number of important things:

  1. How to connect securely to a server, provided you have access to the server Certificate.
  2. How to parse a gRPC status error message with an error Detail.
  3. How to consume all messages on a server side stream.

Note that running the client twice without restarting the server inbetween will make it fail the second time, since a user is added to the server in the first call, and can't be added again.