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

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'