mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 10:02:10 +08:00
add readme
This commit is contained in:
parent
cc26f8e641
commit
3e14617ac3
19
examples/grpc/README.md
Normal file
19
examples/grpc/README.md
Normal 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'
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user