mirror of
https://github.com/kataras/iris.git
synced 2026-01-03 10:17:03 +00:00
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
read HISTORY.md Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
This commit is contained in:
20
_examples/mvc/grpc-compatible/README.md
Normal file
20
_examples/mvc/grpc-compatible/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user