bilibili-backup/app/service/live/live_data/api/liverpc/v0/Message.proto
2019-04-22 02:59:20 +00:00

58 lines
1.0 KiB
Protocol Buffer
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
package live_data.v0;
option go_package = "v0";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service Message {
/** 监控队列: topicRoomStatusNotify-T
*
*/
rpc liveNotify (MessageLiveNotifyReq) returns (MessageLiveNotifyResp);
/** 监控队列: topicOneLiveRoomAreaChange-T
*
*/
rpc areaNotify (MessageAreaNotifyReq) returns (MessageAreaNotifyResp);
}
message MessageLiveNotifyReq {
}
message MessageLiveNotifyResp {
// code
int64 code = 1 [(gogoproto.jsontag) = "code"];
// msg
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
Data data = 3 [(gogoproto.jsontag) = "data"];
message Data {
}
}
message MessageAreaNotifyReq {
}
message MessageAreaNotifyResp {
// code
int64 code = 1 [(gogoproto.jsontag) = "code"];
// msg
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
Data data = 3 [(gogoproto.jsontag) = "data"];
message Data {
}
}