mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:42:51 +08:00
* refactor: migrate from protobuf to simple-protobuf * update go.mod * fix server * Update gRPC.cpp * Update gRPC.cpp
14 lines
260 B
Protocol Buffer
14 lines
260 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package example;
|
|
|
|
enum SomeEnum {
|
|
SOME_ENUM_UNDEFINED = 0;
|
|
SOME_ENUM_ONE = 1;
|
|
SOME_ENUM_TWO = 2;
|
|
SOME_ENUM_THREE = 3;
|
|
SOME_ENUM_FOUR = 4;
|
|
SOME_ENUM_FIVE = 5;
|
|
};
|
|
|
|
message SomeMessage { repeated SomeEnum values = 1; }; |