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
- Host: GitHub
- URL: https://github.com/kecci/go-grpc
- Owner: kecci
- Created: 2021-02-28T14:22:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-24T19:46:55.000Z (over 3 years ago)
- Last Synced: 2024-12-30T18:06:00.315Z (over 1 year ago)
- Topics: grpc, protobuf
- Language: Go
- Homepage: https://kecci.github.io/
- Size: 159 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-grpc

## 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
```