Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Introduction to gRPC usage

This example contains a pre-compiled proto package. Detailed instructions for rebuilding (if needed) are attached.

Launching this demo

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

You should now have two servers and one client running!

Does it work?

You will see the corresponding logs in your console:

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

You can start additional servers, stop existing ones, and add or remove clients. The system will continue to function correctly!