1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-30 08:17:18 +00:00
Files
kararas_iris/_examples/mvc/grpc-compatible
Gerasimos (Makis) Maropoulos a8a3afea22 update dependencies
2025-08-15 23:29:20 +03:00
..
2025-08-15 23:29:20 +03:00

gRPC Iris Example

Generate TLS Keys

$ openssl genrsa -out server.key 2048
$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650

Install the protoc Go plugin

$ go get -u github.com/golang/protobuf/protoc-gen-go

Generate proto

$ protoc -I helloworld/ helloworld/helloworld.proto --go_out=plugins=grpc:helloworld