Xray-core/proxy/vmess/inbound/config.proto

26 lines
575 B
Protocol Buffer
Raw Permalink Normal View History

2020-11-25 14:01:53 +03:00
syntax = "proto3";
package xray.proxy.vmess.inbound;
option csharp_namespace = "Xray.Proxy.Vmess.Inbound";
2020-12-04 04:36:16 +03:00
option go_package = "github.com/xtls/xray-core/proxy/vmess/inbound";
2020-11-25 14:01:53 +03:00
option java_package = "com.xray.proxy.vmess.inbound";
option java_multiple_files = true;
import "common/protocol/user.proto";
message DetourConfig {
string to = 1;
}
message DefaultConfig {
uint32 alter_id = 1;
uint32 level = 2;
}
message Config {
repeated xray.common.protocol.User user = 1;
DefaultConfig default = 2;
DetourConfig detour = 3;
bool secure_encryption_only = 4;
}