iris/_examples/mvc/grpc-compatible
Gerasimos (Makis) Maropoulos b657c5e6af don't fire ErrServerClosed on manually interrupt signals (CTRL/CMD+C)
Former-commit-id: 673c84dd13bb99c0926aa1b4a6b4eff9745403d8
2020-04-28 05:22:58 +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 don't fire ErrServerClosed on manually interrupt signals (CTRL/CMD+C) 2020-04-28 05:22:58 +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