https://github.com/takusemba/grpc-proto
proto file for grpc
https://github.com/takusemba/grpc-proto
grpc proto-files protobuf
Last synced: about 1 year ago
JSON representation
proto file for grpc
- Host: GitHub
- URL: https://github.com/takusemba/grpc-proto
- Owner: TakuSemba
- Created: 2017-11-17T11:18:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-03T08:56:42.000Z (about 8 years ago)
- Last Synced: 2025-01-05T09:13:46.660Z (about 1 year ago)
- Topics: grpc, proto-files, protobuf
- Language: Java
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
# grpc-proto
This is The Proto for this project. send a coffee and receive a coffee.
```proto
syntax = "proto3";
option java_package = "com.takusemba.grpc.android.protos";
option go_package = "protos";
package Coffee;
message CoffeeRequest {
string name = 1;
}
message CoffeeResponse {
int32 price = 1;
string name = 2;
string message = 3;
}
service Coffee {
rpc Order (CoffeeRequest) returns (CoffeeResponse) {}
}
```
### Client Side
see [grpc-android](https://github.com/TakuSemba/grpc-android) for the client side
### Server Side
see [grpc-go](https://github.com/TakuSemba/grpc-go) for the server side.