消息服务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.

23 lines
430 B

syntax = "proto3";
package msgrpc;
// 配置信息请求结构
message Request {
string data = 1;
string time = 2;
string sign = 3;
}
// 配置信息响应结构
message Response {
string data = 1;
string time = 2;
string sign = 3;
}
// rpc方法
service MsgRpcService {
rpc sendMsg (Request) returns (Response); // 发送消息
rpc sendNotcie (Request) returns (Response); // 跃横推送消息
}