tile38/internal/hservice/hservice.proto

24 lines
504 B
Protocol Buffer
Raw Permalink Normal View History

2016-09-12 07:09:02 +03:00
syntax = "proto3";
option java_multiple_files = true;
option java_package = "com.tile38.hservice";
option java_outer_classname = "HookServiceProto";
package hservice;
// The greeting service definition.
service HookService {
// Sends a greeting
rpc Send (MessageRequest) returns (MessageReply) {}
}
// The request message containing the message value
message MessageRequest {
string value = 1;
}
// The response message containing an ok (true or false)
message MessageReply {
bool ok = 1;
}