Skip to content

unship/grpc-gateway-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC + REST Gateway Play

Blog post: https://coreos.com/blog/gRPC-protobufs-swagger.html

To try it all out do this:

go get -u github.com/philips/grpc-gateway-example
grpc-gateway-example serve
grpc-gateway-example echo "my first rpc echo"
curl -X POST -k https://localhost:10000/v1/echo -H "Content-Type: text/plain" -d '{"value": "foo"}'
{"value":"my REST echo"}

Huge thanks to the hard work people have put into the Go gRPC bindings and gRPC to JSON Gateway

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%