quickstart/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0

README

Introduction to gRPC usage

This example contains an already compiled proto package. Detailed instructions for rebuilding (if needed) are attached.

Launching this demo

cd examples/quickstart/server
go run main.go
cd examples/quickstart/server
go run .
cd examples/quickstart/client
go run .

Now two servers and one client are running!

It works?

Your console will have the corresponding logs:

request: 4 + 9
request: 1 + 3
request: 3 + 0
4 + 9 = 13
3 + 0 = 3
1 + 3 = 4

You can start new servers, stop running ones and add or remove clients... Everything will work!

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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