Skip to content

johnroach/cookbook

Repository files navigation

cookbook

Codacy Badge CodeFactor codecov Build Status Go Report Card

Development

Install magefile:

go get -u -d github.com/magefile/mage
cd $GOPATH/src/github.com/magefile/mage
go run bootstrap.go

or do:

git clone https://github.com/magefile/mage
cd mage
go run bootstrap.go

Download and install protobuf

Run the following commands

go get -u google.golang.org/grpc
go get -u github.com/golang/protobuf/protoc-gen-go

Generating code via proto files

mkdir -p proto-gen/helloworld; protoc -I model/proto model/proto/helloworld.proto --go_out=plugins=grpc:proto-gen/helloworld
mkdir -p proto-gen/health; protoc -I model/proto model/proto/health.proto --go_out=plugins=grpc:proto-gen/health

References

Technical References

-Health Probe for GRPC -Testing GRPC -Project Layout

Birds of the Feather

-How we build GRPC services at Namely? -Awesome GRPC - GRPC Ecosystem

About

Cookbook microservice using gRPC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published