gin/examples/grpc
2018-06-22 23:44:45 +08:00
..
gin example: fix typo for grpc (#1405) 2018-06-22 23:44:45 +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'