Go gRPC Microservice (go-grpc-micro)
Microservice implemented in Go with gRPC, REST.
Getting Started
Set Environments
Change values in app.ini
file. Set other ports and other MatchHost
. You can set the MatchHost
to another server instead of the localhost, and turn more than one server to enable gRPC service-to-service communication.
Install, Build and Run
> go mod download
> go build -o main
> ./main
Generate protobuf.go file
> protoc protobuf/match/match.proto --go_out=plugins=grpc:.
Testing
> go test
Environments
- Go
- gRPC-Go
- Gin
- GORM
- jwt-go
- go-ini
License
Copyright © 2019 Donggeon Lim.
This project is Unlicense licensed.