iris/_examples/mvc/grpc-compatible
Gerasimos (Makis) Maropoulos 116503a9a5 add LogLevel/WithLogLevel in Configuration and run Configurators before Build state
Former-commit-id: d38f1fdae98d650692775f4cee06bd017aba959f
2020-05-08 03:55:54 +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 add LogLevel/WithLogLevel in Configuration and run Configurators before Build state 2020-05-08 03:55:54 +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