iris/_examples/mvc/grpc-compatible/README.md
Gerasimos (Makis) Maropoulos 5d3c96947c New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
read HISTORY.md


Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
2020-04-25 02:30:19 +03:00

21 lines
379 B
Markdown

# gRPC Iris Example
## Generate TLS Keys
```sh
$ openssl genrsa -out server.key 2048
$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
```
## Install the protoc Go plugin
```sh
$ go get -u github.com/golang/protobuf/protoc-gen-go
```
## Generate proto
```sh
$ protoc -I helloworld/ helloworld/helloworld.proto --go_out=plugins=grpc:helloworld
```