micro/examples/server/proto/example/example.proto

22 lines
232 B
Protocol Buffer
Raw Normal View History

2015-05-09 02:42:07 +03:00
syntax = "proto3";
2015-01-14 02:31:27 +03:00
message Message {
string say = 1;
}
2015-01-14 02:31:27 +03:00
message Request {
2015-05-25 20:16:42 +03:00
string name = 1;
2015-01-14 02:31:27 +03:00
}
message Response {
2015-05-25 20:16:42 +03:00
string msg = 1;
2015-01-14 02:31:27 +03:00
}
message StreamingRequest {
int64 count = 1;
}
message StreamingResponse {
int64 count = 1;
}