An open API service indexing awesome lists of open source software.

https://github.com/kecci/go-grpc

Project Example of gRPC and Protobuf
https://github.com/kecci/go-grpc

grpc protobuf

Last synced: about 2 months ago
JSON representation

Project Example of gRPC and Protobuf

Awesome Lists containing this project

README

          

# go-grpc

![gambar](assets/banner.png)

## proto files
pb list: `common/model/`

## Generate files
from `.proto` files to `.pb.go` files
```
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative ./common/model/*.proto
```

## Run Server
```
go run ./services/service-user/main.go
```

## Run Client
```
go run ./client/main.go
```