https://github.com/leoho0722/grpc-go-example
Example of implementing gRPC using Go
https://github.com/leoho0722/grpc-go-example
go grpc protobuf
Last synced: about 1 month ago
JSON representation
Example of implementing gRPC using Go
- Host: GitHub
- URL: https://github.com/leoho0722/grpc-go-example
- Owner: leoho0722
- Created: 2023-11-06T07:20:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T19:38:03.000Z (almost 2 years ago)
- Last Synced: 2024-06-06T20:25:38.699Z (almost 2 years ago)
- Topics: go, grpc, protobuf
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpc-go-example
Example of implementing gRPC using Go
## Development Environment
* Apple MacBook Pro (13-inch, M1, 2020)
* macOS Sonoma 14.1 (23B74)
* go@1.21.3
* Visual Studio Code
## Install
```shell
brew install go
brew install protobuf
brew install protoc-gen-go-grpc
brew install protoc-gen-go
```
## Run
### Server side
```shell
go run main.go
```
or
```shell
make run-server
```
### Client side
```shell
go run client/client.go
```
or
```shell
make run-client
```
or
See [grpc-swift-ios-example](https://github.com/leoho0722/grpc-swift-ios-example)