iris/_examples/mvc/grpc-compatible
Gerasimos (Makis) Maropoulos 346ca2a219 route logging improvement: group by methods
Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
2020-04-26 17:51:27 +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 add a full gRPC example as previously requested at: https://github.com/kataras/iris/issues/1449 2020-03-07 12:53:23 +02: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 route logging improvement: group by methods 2020-04-26 17:51:27 +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