iris/_examples/mvc/grpc-compatible
2022-03-28 14:00:26 +03:00
..
grpc-client mvc grpc compatible example, showcase dev 2022-03-03 13:30:51 +02:00
helloworld use the new protobuf package and other minor stuff 2020-06-21 17:15:28 +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 first release of SSO package and more examples 2022-03-28 14:00:26 +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 mvc grpc compatible example, showcase dev 2022-03-03 13:30:51 +02:00
server.key mvc grpc compatible example, showcase dev 2022-03-03 13:30:51 +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