mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
20 lines
246 B
Protocol Buffer
20 lines
246 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message MessageA {
|
|
string foo = 1;
|
|
Number bar = 2;
|
|
|
|
enum Number {
|
|
ONE = 1;
|
|
TWO = 2;
|
|
}
|
|
}
|
|
|
|
message MessageB {
|
|
string foo = 1;
|
|
int32 bar = 2;
|
|
}
|
|
|
|
service Greeter {
|
|
rpc ello (MessageA) returns (MessageB) {}
|
|
}
|