mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
29d98ac281
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2 |
||
---|---|---|
.. | ||
grpc-client | ||
helloworld | ||
http-client | ||
main_test.go | ||
main.go | ||
README.md | ||
server.crt | ||
server.key |
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