站点RPC方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
563 B

syntax = "proto3";
package site;
// 配置信息请求结构
message ConfigRequest {
string data = 1;
string time = 2;
string sign = 3;
}
// 配置信息响应结构
message ConfigResponse {
string data = 1;
string time = 2;
string sign = 3;
}
// rpc方法
service SiteService {
rpc getConfig (ConfigRequest) returns (ConfigResponse); // 查询配置信息
rpc getBalanceType (ConfigRequest) returns (ConfigResponse); // 查询账户类型信息
rpc getAllSite(ConfigRequest) returns (ConfigResponse);//缓存的所有站点
}