mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
20 lines
447 B
Protocol Buffer
20 lines
447 B
Protocol Buffer
syntax = "proto3";
|
||
option go_package = "./pb";
|
||
|
||
package pb;
|
||
|
||
import "models/model_message_recipient.proto";
|
||
import "models/model_message_recipient_group.proto";
|
||
|
||
message MessageReceiver {
|
||
int64 id = 1;
|
||
int64 clusterId = 2;
|
||
int64 nodeId = 3;
|
||
int64 serverId = 4;
|
||
string type = 5;
|
||
bytes paramsJSON = 6;
|
||
string role = 9; // 集群角色:node 或 dns
|
||
|
||
MessageRecipient messageRecipient = 7;
|
||
MessageRecipientGroup messageRecipientGroup = 8;
|
||
} |