Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 762 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 762 Bytes


grpc-proto

This is The Proto for this project. send a coffee and receive a coffee.

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 for the client side

Server Side

see grpc-go for the server side.