https://github.com/zazk/ginrrpc
Go Gin Framework with gRPC App
https://github.com/zazk/ginrrpc
gin go golang grpc
Last synced: about 1 year ago
JSON representation
Go Gin Framework with gRPC App
- Host: GitHub
- URL: https://github.com/zazk/ginrrpc
- Owner: zazk
- Created: 2020-03-24T00:13:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T22:23:36.000Z (about 6 years ago)
- Last Synced: 2025-01-09T00:02:31.490Z (about 1 year ago)
- Topics: gin, go, golang, grpc
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Gin gRPC Tutorial
### Basic API using gRPC and protobufs in Go with Go Gin
### Server
```
cd server/ && go run main.go
```
### Client
```
cd client/ && go run main.go
```
### You can test both `GET` requests
### `/mult/:a/:b`
```
http://localhost:8080/mult/210/204
```
Response:
```
{
"result": "42840"
}
```
### `/add/:a/:b`
```
http://localhost:8080/add/210/204
```
Response:
```
{
"result": "42840"
}
```
### Tested with standalone client

Client: https://github.com/uw-labs/bloomrpc