milvus/proto/master.proto
zhenshan.cao 8992611898 refactor proto logic
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-09-06 21:13:06 +08:00

26 lines
497 B
Protocol Buffer

syntax = "proto3";
package master;
// The greeting service definition.
service Greeter {
// receive a grpc_server address and set to etcd.
rpc ReportAddress (Request) returns (Reply) {}
// send a grpc_server address to client
rpc GetAddress (EmptyRequest) returns (Request) {}
}
// The request message containing the user's name.
message Request {
string address = 1;
}
message EmptyRequest {
}
// The response message containing the greetings
message Reply {
bool status = 1;
}