iris/_examples/mvc/grpc-compatible
Gerasimos (Makis) Maropoulos f5e59c10e1 update go.mod deps
Former-commit-id: 91a0ab6a8cb35bf9143cee0447a6f72ca8a09333
2020-05-04 20:23:15 +03:00
..
grpc-client New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods 2020-04-25 02:30:19 +03:00
helloworld New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods 2020-04-25 02:30:19 +03:00
http-client don't fire ErrServerClosed on manually interrupt signals (CTRL/CMD+C) 2020-04-28 05:22:58 +03:00
main_test.go New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods 2020-04-25 02:30:19 +03:00
main.go update go.mod deps 2020-05-04 20:23:15 +03:00
README.md New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods 2020-04-25 02:30:19 +03:00
server.crt add a full gRPC example as previously requested at: https://github.com/kataras/iris/issues/1449 2020-03-07 12:53:23 +02:00
server.key add a full gRPC example as previously requested at: https://github.com/kataras/iris/issues/1449 2020-03-07 12:53:23 +02: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