Categorygithub.com/frostcs7/go-grpc-poc
module
0.0.0-20230126121209-43a29d7042f7
Repository: https://github.com/frostcs7/go-grpc-poc.git
Documentation: pkg.go.dev

# README

go-grpc-poc

This is poc for golang grpc

To generate the proto service definitions

make create This command will trigger the protoc to create the files in the ./gen/protos folder

To run

go run server/server.go The server is under server/server.go.

How to test

To list all the service definitions: grpCurl --plaintext localhost:50051 list

To send request: grpCurl --plaintext -d '{"name": "sandeep"}' localhost:50051 protos.HelloWorld/SayHello

Unit test

go test ./...

# Packages

No description provided by the author
Package main implements a server for HelloWorld service.