olaris.polaris-all.2.0.0.0-RC1.source-code.grpcapi_location.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
syntax = "proto3";
package v1;
option java_package = "com.tencent.polaris.client.pb";
option java_outer_classname = "LocationGRPCService";
message LocationRequest {
string client_ip = 1 [json_name = "client_ip"];
}
message LocationResponse {
string region = 1;
string zone = 2;
string campus = 3;
}
service LocationGRPC {
// 获取客户端地理位置信息
rpc GetLocation(LocationRequest) returns(LocationResponse) {}
}