add readme

This commit is contained in:
thinkerou 2018-06-21 21:50:08 +08:00 committed by Bo-Yi Wu
parent cc26f8e641
commit 3e14617ac3

19
examples/grpc/README.md Normal file
View File

@ -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'
```