20 lines
438 B
Protocol Buffer
20 lines
438 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./;protobuf";
|
|
package protobuf;
|
|
|
|
import "communities.proto";
|
|
import "community_token.proto";
|
|
|
|
message CommunityPrivilegedUserSyncMessage {
|
|
uint64 clock = 1;
|
|
EventType type = 2;
|
|
bytes community_id = 3;
|
|
map<string,CommunityRequestToJoin> request_to_join = 4;
|
|
|
|
enum EventType {
|
|
UNKNOWN = 0;
|
|
CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN = 1;
|
|
CONTROL_NODE_REJECT_REQUEST_TO_JOIN = 2;
|
|
}
|
|
} |