grpc-microservices

module
v0.0.0-...-3ec158f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: MIT

README

gRPC Microservices

Go Report Card

Command to generate code

$ protoc -I=proto --go_out=plugins=grpc,paths=source_relative:./proto proto/activity/activity.proto
$ protoc -I=proto --go_out=plugins=grpc,paths=source_relative:./proto proto/user/user.proto
$ protoc -I=proto --go_out=plugins=grpc,paths=source_relative:./proto proto/project/project.proto
$ protoc -I=proto --go_out=plugins=grpc,paths=source_relative:./proto proto/task/task.proto

Environment switching

Use GRPC_MICROSERVICES_ENVIRONMENT.
Everything except production is development.

$ GRPC_MICROSERVICES_ENVIRONMENT=production docker-compose up

License

MIT

Author

178inaba

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL