Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benchkram/bob-grpc-example
A simple example on how to generate gRPC code with bob.
https://github.com/benchkram/bob-grpc-example
Last synced: 10 days ago
JSON representation
A simple example on how to generate gRPC code with bob.
- Host: GitHub
- URL: https://github.com/benchkram/bob-grpc-example
- Owner: benchkram
- Created: 2023-04-26T09:51:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-27T14:37:13.000Z (over 1 year ago)
- Last Synced: 2024-11-06T03:48:09.110Z (about 2 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# bob-grpc example
A simple example on how to generate gRPC code with bob.
## Prerequisites
- go: https://go.dev/doc/install
- bob + nix: https://bob.build/docs/getting-started/installation### Generate code from proto definition
```shell
bob build proto
```### Run server
```shell
go run server/main.go
```### Run client
```shell
go run client/main.go
```