mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-26 08:35:17 +00:00
23 lines
383 B
Protocol Buffer
23 lines
383 B
Protocol Buffer
syntax = "proto2";
|
|
package main;
|
|
|
|
message Request {
|
|
enum Type {
|
|
SEND_MESSAGE = 0;
|
|
UPDATE_PEER = 1;
|
|
}
|
|
|
|
required Type type = 1;
|
|
optional SendMessage sendMessage = 2;
|
|
optional UpdatePeer updatePeer = 3;
|
|
}
|
|
|
|
message SendMessage {
|
|
required bytes data = 1;
|
|
required int64 created = 2;
|
|
required bytes id = 3;
|
|
}
|
|
|
|
message UpdatePeer {
|
|
optional bytes userHandle = 1;
|
|
} |