wildfire chat server source initial submit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
syntax = "proto3";
|
||||
|
||||
/// message comment
|
||||
message TestMessage {
|
||||
/// field comment
|
||||
string testField = 1;
|
||||
|
||||
/// map field comment
|
||||
map<string, string> testMap = 2;
|
||||
|
||||
/// oneof field comment
|
||||
oneof testOneof {
|
||||
/// oneof string comment
|
||||
string testOneofString = 3;
|
||||
/// oneof bool comment
|
||||
bool testOneofBool = 4;
|
||||
}
|
||||
}
|
||||
|
||||
/// service comment
|
||||
service TestService {
|
||||
/// method comment
|
||||
rpc testMethod(TestMessage) returns (TestMessage) {}
|
||||
}
|
||||
|
||||
/// enum comment
|
||||
enum TestEnum {
|
||||
/// enum value comment
|
||||
VALUE = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user