PW486 / go-grpc-micro

๐Ÿ–‡๏ธ Microservice implemented in Go with gRPC, REST.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go gRPC Microservice (go-grpc-micro)

Go Report Card Go Doc GitHub stars GitHub license GitHub code size in bytes

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.

About

๐Ÿ–‡๏ธ Microservice implemented in Go with gRPC, REST.

License:The Unlicense


Languages

Language:Go 98.3%Language:Dockerfile 1.7%