update protobuf generated files

This commit is contained in:
Darien Raymond
2018-09-30 18:39:28 +02:00
parent 865d4ff7ff
commit 00ea6e3cb2
46 changed files with 240 additions and 128 deletions
+3
View File
@@ -30,6 +30,7 @@ func (*NoneResponse) ProtoMessage() {}
func (*NoneResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8c8b37c8ae1bdfea, []int{0}
}
func (m *NoneResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NoneResponse.Unmarshal(m, b)
}
@@ -60,6 +61,7 @@ func (*HTTPResponse) ProtoMessage() {}
func (*HTTPResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8c8b37c8ae1bdfea, []int{1}
}
func (m *HTTPResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HTTPResponse.Unmarshal(m, b)
}
@@ -91,6 +93,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_8c8b37c8ae1bdfea, []int{2}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
+1
View File
@@ -36,6 +36,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_de04411d7254f312, []int{0}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
+3 -1
View File
@@ -56,6 +56,7 @@ func (*DestinationOverride) ProtoMessage() {}
func (*DestinationOverride) Descriptor() ([]byte, []int) {
return fileDescriptor_66807b6fe2cca4da, []int{0}
}
func (m *DestinationOverride) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DestinationOverride.Unmarshal(m, b)
}
@@ -97,6 +98,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_66807b6fe2cca4da, []int{1}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
@@ -145,9 +147,9 @@ func (m *Config) GetUserLevel() uint32 {
}
func init() {
proto.RegisterEnum("v2ray.core.proxy.freedom.Config_DomainStrategy", Config_DomainStrategy_name, Config_DomainStrategy_value)
proto.RegisterType((*DestinationOverride)(nil), "v2ray.core.proxy.freedom.DestinationOverride")
proto.RegisterType((*Config)(nil), "v2ray.core.proxy.freedom.Config")
proto.RegisterEnum("v2ray.core.proxy.freedom.Config_DomainStrategy", Config_DomainStrategy_name, Config_DomainStrategy_value)
}
func init() {
+2
View File
@@ -34,6 +34,7 @@ func (*ServerConfig) ProtoMessage() {}
func (*ServerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_e66c3db3a635d8e4, []int{0}
}
func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
}
@@ -94,6 +95,7 @@ func (*ClientConfig) ProtoMessage() {}
func (*ClientConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_e66c3db3a635d8e4, []int{1}
}
func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
}
+3
View File
@@ -31,6 +31,7 @@ func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_64514e21c693811b, []int{0}
}
func (m *Account) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Account.Unmarshal(m, b)
}
@@ -71,6 +72,7 @@ func (*ServerConfig) ProtoMessage() {}
func (*ServerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_64514e21c693811b, []int{1}
}
func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
}
@@ -108,6 +110,7 @@ func (*ClientConfig) ProtoMessage() {}
func (*ClientConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_64514e21c693811b, []int{2}
}
func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
}
+5 -2
View File
@@ -108,6 +108,7 @@ func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_8d089a30c2106007, []int{0}
}
func (m *Account) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Account.Unmarshal(m, b)
}
@@ -164,6 +165,7 @@ func (*ServerConfig) ProtoMessage() {}
func (*ServerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8d089a30c2106007, []int{1}
}
func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
}
@@ -217,6 +219,7 @@ func (*ClientConfig) ProtoMessage() {}
func (*ClientConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_8d089a30c2106007, []int{2}
}
func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
}
@@ -243,11 +246,11 @@ func (m *ClientConfig) GetServer() []*protocol.ServerEndpoint {
}
func init() {
proto.RegisterEnum("v2ray.core.proxy.shadowsocks.CipherType", CipherType_name, CipherType_value)
proto.RegisterEnum("v2ray.core.proxy.shadowsocks.Account_OneTimeAuth", Account_OneTimeAuth_name, Account_OneTimeAuth_value)
proto.RegisterType((*Account)(nil), "v2ray.core.proxy.shadowsocks.Account")
proto.RegisterType((*ServerConfig)(nil), "v2ray.core.proxy.shadowsocks.ServerConfig")
proto.RegisterType((*ClientConfig)(nil), "v2ray.core.proxy.shadowsocks.ClientConfig")
proto.RegisterEnum("v2ray.core.proxy.shadowsocks.CipherType", CipherType_name, CipherType_value)
proto.RegisterEnum("v2ray.core.proxy.shadowsocks.Account_OneTimeAuth", Account_OneTimeAuth_name, Account_OneTimeAuth_value)
}
func init() {
+4 -1
View File
@@ -58,6 +58,7 @@ func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_e86958e2cebd3303, []int{0}
}
func (m *Account) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Account.Unmarshal(m, b)
}
@@ -108,6 +109,7 @@ func (*ServerConfig) ProtoMessage() {}
func (*ServerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_e86958e2cebd3303, []int{1}
}
func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
}
@@ -182,6 +184,7 @@ func (*ClientConfig) ProtoMessage() {}
func (*ClientConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_e86958e2cebd3303, []int{2}
}
func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
}
@@ -208,11 +211,11 @@ func (m *ClientConfig) GetServer() []*protocol.ServerEndpoint {
}
func init() {
proto.RegisterEnum("v2ray.core.proxy.socks.AuthType", AuthType_name, AuthType_value)
proto.RegisterType((*Account)(nil), "v2ray.core.proxy.socks.Account")
proto.RegisterType((*ServerConfig)(nil), "v2ray.core.proxy.socks.ServerConfig")
proto.RegisterMapType((map[string]string)(nil), "v2ray.core.proxy.socks.ServerConfig.AccountsEntry")
proto.RegisterType((*ClientConfig)(nil), "v2ray.core.proxy.socks.ClientConfig")
proto.RegisterEnum("v2ray.core.proxy.socks.AuthType", AuthType_name, AuthType_value)
}
func init() {
+1
View File
@@ -36,6 +36,7 @@ func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_d65dee31e5abbda0, []int{0}
}
func (m *Account) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Account.Unmarshal(m, b)
}
+3
View File
@@ -31,6 +31,7 @@ func (*DetourConfig) ProtoMessage() {}
func (*DetourConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_a47d4a41f33382d2, []int{0}
}
func (m *DetourConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DetourConfig.Unmarshal(m, b)
}
@@ -70,6 +71,7 @@ func (*DefaultConfig) ProtoMessage() {}
func (*DefaultConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_a47d4a41f33382d2, []int{1}
}
func (m *DefaultConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DefaultConfig.Unmarshal(m, b)
}
@@ -118,6 +120,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_a47d4a41f33382d2, []int{2}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
+1
View File
@@ -31,6 +31,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_bc22c8b653a4f7ef, []int{0}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}