update proto lib

This commit is contained in:
Darien Raymond
2018-09-14 11:00:59 +02:00
parent 1aeb3509c2
commit d068f357bd
46 changed files with 503 additions and 475 deletions
+5 -3
View File
@@ -32,6 +32,7 @@ var Severity_name = map[int32]string{
3: "Info",
4: "Debug",
}
var Severity_value = map[string]int32{
"Unknown": 0,
"Error": 1,
@@ -43,8 +44,9 @@ var Severity_value = map[string]int32{
func (x Severity) String() string {
return proto.EnumName(Severity_name, int32(x))
}
func (Severity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_log_688a64b279e8a7c0, []int{0}
return fileDescriptor_903ab33e40dced38, []int{0}
}
func init() {
@@ -52,10 +54,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/log/log.proto", fileDescriptor_log_688a64b279e8a7c0)
proto.RegisterFile("v2ray.com/core/common/log/log.proto", fileDescriptor_903ab33e40dced38)
}
var fileDescriptor_log_688a64b279e8a7c0 = []byte{
var fileDescriptor_903ab33e40dced38 = []byte{
// 178 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -30,7 +30,7 @@ func (m *IPOrDomain) Reset() { *m = IPOrDomain{} }
func (m *IPOrDomain) String() string { return proto.CompactTextString(m) }
func (*IPOrDomain) ProtoMessage() {}
func (*IPOrDomain) Descriptor() ([]byte, []int) {
return fileDescriptor_address_c500a1e2dec49a04, []int{0}
return fileDescriptor_4ba9b4a4304e7c1f, []int{0}
}
func (m *IPOrDomain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IPOrDomain.Unmarshal(m, b)
@@ -38,8 +38,8 @@ func (m *IPOrDomain) XXX_Unmarshal(b []byte) error {
func (m *IPOrDomain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IPOrDomain.Marshal(b, m, deterministic)
}
func (dst *IPOrDomain) XXX_Merge(src proto.Message) {
xxx_messageInfo_IPOrDomain.Merge(dst, src)
func (m *IPOrDomain) XXX_Merge(src proto.Message) {
xxx_messageInfo_IPOrDomain.Merge(m, src)
}
func (m *IPOrDomain) XXX_Size() int {
return xxx_messageInfo_IPOrDomain.Size(m)
@@ -158,10 +158,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/net/address.proto", fileDescriptor_address_c500a1e2dec49a04)
proto.RegisterFile("v2ray.com/core/common/net/address.proto", fileDescriptor_4ba9b4a4304e7c1f)
}
var fileDescriptor_address_c500a1e2dec49a04 = []byte{
var fileDescriptor_4ba9b4a4304e7c1f = []byte{
// 174 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2f, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -29,7 +29,7 @@ func (m *Endpoint) Reset() { *m = Endpoint{} }
func (m *Endpoint) String() string { return proto.CompactTextString(m) }
func (*Endpoint) ProtoMessage() {}
func (*Endpoint) Descriptor() ([]byte, []int) {
return fileDescriptor_destination_9cf0c1d86a8d291d, []int{0}
return fileDescriptor_77acfe1424029862, []int{0}
}
func (m *Endpoint) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Endpoint.Unmarshal(m, b)
@@ -37,8 +37,8 @@ func (m *Endpoint) XXX_Unmarshal(b []byte) error {
func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic)
}
func (dst *Endpoint) XXX_Merge(src proto.Message) {
xxx_messageInfo_Endpoint.Merge(dst, src)
func (m *Endpoint) XXX_Merge(src proto.Message) {
xxx_messageInfo_Endpoint.Merge(m, src)
}
func (m *Endpoint) XXX_Size() int {
return xxx_messageInfo_Endpoint.Size(m)
@@ -75,10 +75,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/net/destination.proto", fileDescriptor_destination_9cf0c1d86a8d291d)
proto.RegisterFile("v2ray.com/core/common/net/destination.proto", fileDescriptor_77acfe1424029862)
}
var fileDescriptor_destination_9cf0c1d86a8d291d = []byte{
var fileDescriptor_77acfe1424029862 = []byte{
// 230 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+8 -6
View File
@@ -30,6 +30,7 @@ var Network_name = map[int32]string{
2: "TCP",
3: "UDP",
}
var Network_value = map[string]int32{
"Unknown": 0,
"RawTCP": 1,
@@ -40,8 +41,9 @@ var Network_value = map[string]int32{
func (x Network) String() string {
return proto.EnumName(Network_name, int32(x))
}
func (Network) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_network_a36c8cbc46b487e4, []int{0}
return fileDescriptor_6a103d5ccb9e785e, []int{0}
}
// NetworkList is a list of Networks.
@@ -56,7 +58,7 @@ func (m *NetworkList) Reset() { *m = NetworkList{} }
func (m *NetworkList) String() string { return proto.CompactTextString(m) }
func (*NetworkList) ProtoMessage() {}
func (*NetworkList) Descriptor() ([]byte, []int) {
return fileDescriptor_network_a36c8cbc46b487e4, []int{0}
return fileDescriptor_6a103d5ccb9e785e, []int{0}
}
func (m *NetworkList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkList.Unmarshal(m, b)
@@ -64,8 +66,8 @@ func (m *NetworkList) XXX_Unmarshal(b []byte) error {
func (m *NetworkList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetworkList.Marshal(b, m, deterministic)
}
func (dst *NetworkList) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetworkList.Merge(dst, src)
func (m *NetworkList) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetworkList.Merge(m, src)
}
func (m *NetworkList) XXX_Size() int {
return xxx_messageInfo_NetworkList.Size(m)
@@ -89,10 +91,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/net/network.proto", fileDescriptor_network_a36c8cbc46b487e4)
proto.RegisterFile("v2ray.com/core/common/net/network.proto", fileDescriptor_6a103d5ccb9e785e)
}
var fileDescriptor_network_a36c8cbc46b487e4 = []byte{
var fileDescriptor_6a103d5ccb9e785e = []byte{
// 198 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2f, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -30,7 +30,7 @@ func (m *PortRange) Reset() { *m = PortRange{} }
func (m *PortRange) String() string { return proto.CompactTextString(m) }
func (*PortRange) ProtoMessage() {}
func (*PortRange) Descriptor() ([]byte, []int) {
return fileDescriptor_port_673e4083b7b87399, []int{0}
return fileDescriptor_166067e37a39f913, []int{0}
}
func (m *PortRange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PortRange.Unmarshal(m, b)
@@ -38,8 +38,8 @@ func (m *PortRange) XXX_Unmarshal(b []byte) error {
func (m *PortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PortRange.Marshal(b, m, deterministic)
}
func (dst *PortRange) XXX_Merge(src proto.Message) {
xxx_messageInfo_PortRange.Merge(dst, src)
func (m *PortRange) XXX_Merge(src proto.Message) {
xxx_messageInfo_PortRange.Merge(m, src)
}
func (m *PortRange) XXX_Size() int {
return xxx_messageInfo_PortRange.Size(m)
@@ -69,10 +69,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/net/port.proto", fileDescriptor_port_673e4083b7b87399)
proto.RegisterFile("v2ray.com/core/common/net/port.proto", fileDescriptor_166067e37a39f913)
}
var fileDescriptor_port_673e4083b7b87399 = []byte{
var fileDescriptor_166067e37a39f913 = []byte{
// 158 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -29,7 +29,7 @@ func (m *AlternativeOutboundConfig) Reset() { *m = AlternativeOutboundCo
func (m *AlternativeOutboundConfig) String() string { return proto.CompactTextString(m) }
func (*AlternativeOutboundConfig) ProtoMessage() {}
func (*AlternativeOutboundConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_command_73fe039ecf28347d, []int{0}
return fileDescriptor_679ae58a48988c7f, []int{0}
}
func (m *AlternativeOutboundConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlternativeOutboundConfig.Unmarshal(m, b)
@@ -37,8 +37,8 @@ func (m *AlternativeOutboundConfig) XXX_Unmarshal(b []byte) error {
func (m *AlternativeOutboundConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlternativeOutboundConfig.Marshal(b, m, deterministic)
}
func (dst *AlternativeOutboundConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlternativeOutboundConfig.Merge(dst, src)
func (m *AlternativeOutboundConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlternativeOutboundConfig.Merge(m, src)
}
func (m *AlternativeOutboundConfig) XXX_Size() int {
return xxx_messageInfo_AlternativeOutboundConfig.Size(m)
@@ -68,10 +68,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/protocol/command.proto", fileDescriptor_command_73fe039ecf28347d)
proto.RegisterFile("v2ray.com/core/common/protocol/command.proto", fileDescriptor_679ae58a48988c7f)
}
var fileDescriptor_command_73fe039ecf28347d = []byte{
var fileDescriptor_679ae58a48988c7f = []byte{
// 262 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xcf, 0x4a, 0xc3, 0x40,
0x10, 0x87, 0x89, 0x82, 0x94, 0x08, 0x0a, 0x39, 0x69, 0x0e, 0x22, 0x1e, 0x44, 0x50, 0x66, 0x25,
+8 -6
View File
@@ -34,6 +34,7 @@ var SecurityType_name = map[int32]string{
4: "CHACHA20_POLY1305",
5: "NONE",
}
var SecurityType_value = map[string]int32{
"UNKNOWN": 0,
"LEGACY": 1,
@@ -46,8 +47,9 @@ var SecurityType_value = map[string]int32{
func (x SecurityType) String() string {
return proto.EnumName(SecurityType_name, int32(x))
}
func (SecurityType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_headers_48d2062ab099075f, []int{0}
return fileDescriptor_5931f958a3c1d408, []int{0}
}
type SecurityConfig struct {
@@ -61,7 +63,7 @@ func (m *SecurityConfig) Reset() { *m = SecurityConfig{} }
func (m *SecurityConfig) String() string { return proto.CompactTextString(m) }
func (*SecurityConfig) ProtoMessage() {}
func (*SecurityConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_headers_48d2062ab099075f, []int{0}
return fileDescriptor_5931f958a3c1d408, []int{0}
}
func (m *SecurityConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SecurityConfig.Unmarshal(m, b)
@@ -69,8 +71,8 @@ func (m *SecurityConfig) XXX_Unmarshal(b []byte) error {
func (m *SecurityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SecurityConfig.Marshal(b, m, deterministic)
}
func (dst *SecurityConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_SecurityConfig.Merge(dst, src)
func (m *SecurityConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_SecurityConfig.Merge(m, src)
}
func (m *SecurityConfig) XXX_Size() int {
return xxx_messageInfo_SecurityConfig.Size(m)
@@ -94,10 +96,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/protocol/headers.proto", fileDescriptor_headers_48d2062ab099075f)
proto.RegisterFile("v2ray.com/core/common/protocol/headers.proto", fileDescriptor_5931f958a3c1d408)
}
var fileDescriptor_headers_48d2062ab099075f = []byte{
var fileDescriptor_5931f958a3c1d408 = []byte{
// 252 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x29, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -29,7 +29,7 @@ func (m *ServerEndpoint) Reset() { *m = ServerEndpoint{} }
func (m *ServerEndpoint) String() string { return proto.CompactTextString(m) }
func (*ServerEndpoint) ProtoMessage() {}
func (*ServerEndpoint) Descriptor() ([]byte, []int) {
return fileDescriptor_server_spec_5e5cfcdebad37378, []int{0}
return fileDescriptor_8741b2fa976e72fc, []int{0}
}
func (m *ServerEndpoint) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerEndpoint.Unmarshal(m, b)
@@ -37,8 +37,8 @@ func (m *ServerEndpoint) XXX_Unmarshal(b []byte) error {
func (m *ServerEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServerEndpoint.Marshal(b, m, deterministic)
}
func (dst *ServerEndpoint) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServerEndpoint.Merge(dst, src)
func (m *ServerEndpoint) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServerEndpoint.Merge(m, src)
}
func (m *ServerEndpoint) XXX_Size() int {
return xxx_messageInfo_ServerEndpoint.Size(m)
@@ -75,10 +75,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/protocol/server_spec.proto", fileDescriptor_server_spec_5e5cfcdebad37378)
proto.RegisterFile("v2ray.com/core/common/protocol/server_spec.proto", fileDescriptor_8741b2fa976e72fc)
}
var fileDescriptor_server_spec_5e5cfcdebad37378 = []byte{
var fileDescriptor_8741b2fa976e72fc = []byte{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xcf, 0xbd, 0x4e, 0xc3, 0x30,
0x10, 0x07, 0x70, 0xb9, 0xad, 0x00, 0xb9, 0x82, 0xc1, 0x53, 0x94, 0x01, 0x05, 0x16, 0xc2, 0x72,
+5 -5
View File
@@ -31,7 +31,7 @@ func (m *User) Reset() { *m = User{} }
func (m *User) String() string { return proto.CompactTextString(m) }
func (*User) ProtoMessage() {}
func (*User) Descriptor() ([]byte, []int) {
return fileDescriptor_user_f63d6be0dccd470d, []int{0}
return fileDescriptor_9da52c16030369bd, []int{0}
}
func (m *User) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_User.Unmarshal(m, b)
@@ -39,8 +39,8 @@ func (m *User) XXX_Unmarshal(b []byte) error {
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_User.Marshal(b, m, deterministic)
}
func (dst *User) XXX_Merge(src proto.Message) {
xxx_messageInfo_User.Merge(dst, src)
func (m *User) XXX_Merge(src proto.Message) {
xxx_messageInfo_User.Merge(m, src)
}
func (m *User) XXX_Size() int {
return xxx_messageInfo_User.Size(m)
@@ -77,10 +77,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/protocol/user.proto", fileDescriptor_user_f63d6be0dccd470d)
proto.RegisterFile("v2ray.com/core/common/protocol/user.proto", fileDescriptor_9da52c16030369bd)
}
var fileDescriptor_user_f63d6be0dccd470d = []byte{
var fileDescriptor_9da52c16030369bd = []byte{
// 218 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
+5 -5
View File
@@ -30,7 +30,7 @@ func (m *TypedMessage) Reset() { *m = TypedMessage{} }
func (m *TypedMessage) String() string { return proto.CompactTextString(m) }
func (*TypedMessage) ProtoMessage() {}
func (*TypedMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_typed_message_70293e724b066c70, []int{0}
return fileDescriptor_0bb3cdb51e9fc84d, []int{0}
}
func (m *TypedMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TypedMessage.Unmarshal(m, b)
@@ -38,8 +38,8 @@ func (m *TypedMessage) XXX_Unmarshal(b []byte) error {
func (m *TypedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TypedMessage.Marshal(b, m, deterministic)
}
func (dst *TypedMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_TypedMessage.Merge(dst, src)
func (m *TypedMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_TypedMessage.Merge(m, src)
}
func (m *TypedMessage) XXX_Size() int {
return xxx_messageInfo_TypedMessage.Size(m)
@@ -69,10 +69,10 @@ func init() {
}
func init() {
proto.RegisterFile("v2ray.com/core/common/serial/typed_message.proto", fileDescriptor_typed_message_70293e724b066c70)
proto.RegisterFile("v2ray.com/core/common/serial/typed_message.proto", fileDescriptor_0bb3cdb51e9fc84d)
}
var fileDescriptor_typed_message_70293e724b066c70 = []byte{
var fileDescriptor_0bb3cdb51e9fc84d = []byte{
// 168 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x28, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,