gin/examples/grpc
Barnabus 7a374f9a47 Fix typos () 2018-11-05 14:17:04 +08:00
..
gin Fix typos () 2018-11-05 14:17:04 +08:00
grpc add grpc example () 2018-06-22 09:51:06 +08:00
pb add grpc example () 2018-06-22 09:51:06 +08:00
README.md add grpc example () 2018-06-22 09:51:06 +08:00

README.md

How to run this example

  1. run grpc server
$ go run grpc/server.go
  1. run gin server
$ go run gin/main.go
  1. use curl command to test it
$ curl -v 'http://localhost:8052/rest/n/thinkerou'