1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-09 04:29:17 -04:00

protobuf for vmess

This commit is contained in:
Darien Raymond
2016-09-24 23:11:58 +02:00
parent 60f4292882
commit 24e575f2cd
14 changed files with 258 additions and 77 deletions

View File

@@ -0,0 +1,21 @@
syntax = "proto3";
package com.v2ray.core.proxy.vmess.inbound;
option go_package = "inbound";
import "v2ray.com/core/common/protocol/user.proto";
message DetourConfig {
string to = 1;
}
message DefaultConfig {
uint32 alter_id = 1;
uint32 level = 2;
}
message Config {
repeated com.v2ray.core.common.protocol.User user = 1;
DefaultConfig default = 2;
DetourConfig detour = 3;
}