1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

add service registration for policy

This commit is contained in:
Shelikhoo 2021-09-06 14:49:01 +01:00
parent 9f8f420ed3
commit 72059d42a6
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -6,6 +6,8 @@ option go_package = "github.com/v2fly/v2ray-core/v4/app/policy";
option java_package = "com.v2ray.core.app.policy";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
message Second {
uint32 value = 1;
}
@ -46,6 +48,9 @@ message SystemPolicy {
}
message Config {
option (v2ray.core.common.protoext.message_opt).type = "service";
option (v2ray.core.common.protoext.message_opt).short_name = "policy";
map<uint32, Policy> level = 1;
SystemPolicy system = 2;
}