An open API service indexing awesome lists of open source software.

https://github.com/gharib110/go-grpc

golang grpc demo applications
https://github.com/gharib110/go-grpc

golang-application grpc rpc

Last synced: about 1 year ago
JSON representation

golang grpc demo applications

Awesome Lists containing this project

README

          

# go-grpc
An application with gRPC client and server.
For running it open the application in GoLand and sync dependencies of App then
run the server, after that run client.
Also you can use its data for your starter template.
I modify it everyday with new features if gRPC such as gRPC errors.

# GreetService
rpc Greet(GreetingRequest) returns (GreetingResponse) {};

rpc GreetManyTimes(GreetingManyTimeRequest) returns (stream GreetingManyTimesResponse) {};

rpc LongGreet(stream LongGreetRequest) returns (LongGreetResponse) {};

# SumService
rpc GetSumResult(SumRequest) returns (SumResponse) {};

rpc GetStreamingSumResult(SumRequest) returns (stream SumResponse) {};

rpc AverageStreamingResult(stream NumberRequest) returns (AverageResultResponse) {};

rpc SquareRoot(SquareRootRequest) returns (SquareRootResponse) {};

***

## Evans CLI as our gRPC Client

Use Evans CLI tools for your gRPC client