1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-14 00:07:09 -05:00
v2fly/proxy/vmess/inbound/config.proto

34 lines
846 B
Protocol Buffer
Raw Normal View History

2016-09-24 17:11:58 -04:00
syntax = "proto3";
2016-09-26 09:14:16 -04:00
package v2ray.core.proxy.vmess.inbound;
2016-12-22 18:24:28 -05:00
option csharp_namespace = "V2Ray.Core.Proxy.Vmess.Inbound";
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/vmess/inbound";
2016-09-26 09:14:16 -04:00
option java_package = "com.v2ray.core.proxy.vmess.inbound";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-09-24 17:11:58 -04:00
import "common/protocol/user.proto";
2021-09-04 16:16:13 -04:00
import "common/protoext/extensions.proto";
2016-09-24 17:11:58 -04:00
message DetourConfig {
string to = 1;
}
message DefaultConfig {
uint32 alter_id = 1;
uint32 level = 2;
}
message Config {
2016-09-26 09:14:16 -04:00
repeated v2ray.core.common.protocol.User user = 1;
2016-09-24 17:11:58 -04:00
DefaultConfig default = 2;
DetourConfig detour = 3;
bool secure_encryption_only = 4;
}
2021-09-04 16:16:13 -04:00
message SimplifiedConfig{
option (v2ray.core.common.protoext.message_opt).type = "inbound";
option (v2ray.core.common.protoext.message_opt).short_name = "vmess";
repeated string users = 1;
}