An open API service indexing awesome lists of open source software.

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

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.