From 3e14617ac37d47e6cb0e68c940ab87b5ecd3b3ef Mon Sep 17 00:00:00 2001 From: thinkerou Date: Thu, 21 Jun 2018 21:50:08 +0800 Subject: [PATCH] add readme --- examples/grpc/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/grpc/README.md diff --git a/examples/grpc/README.md b/examples/grpc/README.md new file mode 100644 index 00000000..a96d3c1c --- /dev/null +++ b/examples/grpc/README.md @@ -0,0 +1,19 @@ +## How to run this example + +1. run grpc server + +```sh +$ go run grpc/server.go +``` + +2. run gin server + +```sh +$ go run gin/main.go +``` + +3. use curl command to test it + +```sh +$ curl -v 'http://localhost:8052/rest/n/thinkerou' +```