milvus/proto/master.proto
shengjh 4cf6e079bc Add etcd watcher
Signed-off-by: shengjh <1572099106@qq.com>
2020-09-11 18:55:43 +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;
}