19 lines
329 B
Protocol Buffer
19 lines
329 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
// 事件定义
|
|
|
|
message NEMessage {
|
|
// 网络出口ip改变映射变化, 空字符串表示关闭
|
|
message ExitNodeIpChanged {
|
|
string ip = 1;
|
|
}
|
|
|
|
oneof message {
|
|
ExitNodeIpChanged exit_node_ip_changed = 1;
|
|
}
|
|
}
|
|
|
|
message NEReply {
|
|
int32 code = 1;
|
|
string message = 2;
|
|
} |