refine proto package names

This commit is contained in:
Darien Raymond committed 2016-09-26 15:14:16 +02:00
1 parent 922e761bef
commit 91f2a40dae
21 files changed
+81 -38

No files matched your search

+5 -3
View File
@@ -1,7 +1,9 @@
syntax = "proto3";
package com.v2ray.core.proxy.socks;
package v2ray.core.proxy.socks;
option go_package = "socks";
option java_package = "com.v2ray.core.proxy.socks";
option java_outer_classname = "ConfigProto";
import "v2ray.com/core/common/net/address.proto";
import "v2ray.com/core/common/protocol/server_spec.proto";
@@ -19,11 +21,11 @@ enum AuthType {
message ServerConfig {
AuthType auth_type = 1;
map<string, string> accounts = 2;
com.v2ray.core.common.net.AddressPB address = 3;
v2ray.core.common.net.AddressPB address = 3;
bool udp_enabled = 4;
uint32 timeout = 5;
}
message ClientConfig {
repeated com.v2ray.core.common.protocol.ServerSpecPB server = 1;
repeated v2ray.core.common.protocol.ServerSpecPB server = 1;
}