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:
21
proxy/vmess/inbound/config.proto
Normal file
21
proxy/vmess/inbound/config.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user