Created
May 8, 2018 12:15
-
-
Save tesuji/3d03d166ff327a4630d99764f95b0d4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package main; | |
message SimpleMessage { | |
int32 id = 1; // Unique ID number for this message. | |
string mode = 2; | |
string email = 3; | |
enum MsgMode { | |
MESSAGE = 0; | |
FILE = 1; | |
KEY = 2; | |
} | |
MsgMode mode = 4; | |
bytes data = 5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment