https://github.com/codeedu/fc2-grpc
https://github.com/codeedu/fc2-grpc
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeedu/fc2-grpc
- Owner: codeedu
- Created: 2021-02-16T18:38:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T20:32:10.000Z (over 3 years ago)
- Last Synced: 2025-04-17T10:24:53.595Z (9 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 19
- Watchers: 4
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exemplo de implementação de gRPC
1. Suba o container rodando:
```
docker-compose up -d
```
2. Acesse o container:
```
docker-compose exec app sh
```
3. Caso queira gerar novamente as stubs:
```
protoc --proto_path=proto/ proto/*.proto --plugin=$(go env GOPATH)/bin/protoc-gen-go-grpc --go-grpc_out=. --go_out=.
```