client

command
v0.0.0-...-6236971 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL