Skip to content

frostcs7/go-grpc-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ./...

About

This is poc for golang grpc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published