mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
5d3c96947c
read HISTORY.md Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
379 B
379 B
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