Browse Source

update proto lib

Darien Raymond 7 years ago
parent
commit
057e271588
48 changed files with 51 additions and 109 deletions
  1. 1 1
      app/commander/config.pb.go
  2. 1 1
      app/dispatcher/config.pb.go
  3. 1 1
      app/dns/config.pb.go
  4. 1 1
      app/log/command/config.pb.go
  5. 1 1
      app/log/config.pb.go
  6. 1 1
      app/policy/config.pb.go
  7. 1 1
      app/proxyman/command/command.pb.go
  8. 1 1
      app/proxyman/config.pb.go
  9. 1 1
      app/reverse/config.pb.go
  10. 1 1
      app/stats/command/command.pb.go
  11. 1 1
      app/stats/config.pb.go
  12. 1 1
      common/log/log.pb.go
  13. 4 62
      common/net/address.pb.go
  14. 1 1
      common/net/destination.pb.go
  15. 1 1
      common/net/network.pb.go
  16. 1 1
      common/net/port.pb.go
  17. 1 1
      common/protocol/headers.pb.go
  18. 1 1
      common/protocol/server_spec.pb.go
  19. 1 1
      common/protocol/user.pb.go
  20. 1 1
      common/serial/typed_message.pb.go
  21. 1 1
      config.pb.go
  22. 1 1
      proxy/blackhole/config.pb.go
  23. 1 1
      proxy/dokodemo/config.pb.go
  24. 1 1
      proxy/freedom/config.pb.go
  25. 1 1
      proxy/http/config.pb.go
  26. 1 1
      proxy/mtproto/config.pb.go
  27. 1 1
      proxy/shadowsocks/config.pb.go
  28. 1 1
      proxy/socks/config.pb.go
  29. 1 1
      proxy/vmess/account.pb.go
  30. 1 1
      proxy/vmess/inbound/config.pb.go
  31. 1 1
      proxy/vmess/outbound/config.pb.go
  32. 1 1
      transport/config.pb.go
  33. 1 1
      transport/internet/config.pb.go
  34. 1 1
      transport/internet/domainsocket/config.pb.go
  35. 1 1
      transport/internet/headers/http/config.pb.go
  36. 1 1
      transport/internet/headers/noop/config.pb.go
  37. 1 1
      transport/internet/headers/srtp/config.pb.go
  38. 1 1
      transport/internet/headers/tls/config.pb.go
  39. 1 1
      transport/internet/headers/utp/config.pb.go
  40. 1 1
      transport/internet/headers/wechat/config.pb.go
  41. 1 1
      transport/internet/headers/wireguard/config.pb.go
  42. 1 1
      transport/internet/http/config.pb.go
  43. 1 1
      transport/internet/kcp/config.pb.go
  44. 1 1
      transport/internet/quic/config.pb.go
  45. 1 1
      transport/internet/tcp/config.pb.go
  46. 1 1
      transport/internet/tls/config.pb.go
  47. 1 1
      transport/internet/udp/config.pb.go
  48. 1 1
      transport/internet/websocket/config.pb.go

+ 1 - 1
app/commander/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Config is the settings for Commander.
 type Config struct {

+ 1 - 1
app/dispatcher/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type SessionConfig struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
app/dns/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type DomainMatchingType int32
 

+ 1 - 1
app/log/command/config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
app/log/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type LogType int32
 

+ 1 - 1
app/policy/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Second struct {
 	Value                uint32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`

+ 1 - 1
app/proxyman/command/command.pb.go

@@ -20,7 +20,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type AddUserOperation struct {
 	User                 *protocol.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`

+ 1 - 1
app/proxyman/config.pb.go

@@ -18,7 +18,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type KnownProtocols int32
 

+ 1 - 1
app/reverse/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Control_State int32
 

+ 1 - 1
app/stats/command/command.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type GetStatsRequest struct {
 	// Name of the stat counter.

+ 1 - 1
app/stats/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
common/log/log.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Severity int32
 

+ 4 - 62
common/net/address.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Address of a network host. It may be either an IP address or a domain address.
 type IPOrDomain struct {
@@ -90,72 +90,14 @@ func (m *IPOrDomain) GetDomain() string {
 	return ""
 }
 
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*IPOrDomain) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
-	return _IPOrDomain_OneofMarshaler, _IPOrDomain_OneofUnmarshaler, _IPOrDomain_OneofSizer, []interface{}{
+// XXX_OneofWrappers is for the internal use of the proto package.
+func (*IPOrDomain) XXX_OneofWrappers() []interface{} {
+	return []interface{}{
 		(*IPOrDomain_Ip)(nil),
 		(*IPOrDomain_Domain)(nil),
 	}
 }
 
-func _IPOrDomain_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
-	m := msg.(*IPOrDomain)
-	// address
-	switch x := m.Address.(type) {
-	case *IPOrDomain_Ip:
-		b.EncodeVarint(1<<3 | proto.WireBytes)
-		b.EncodeRawBytes(x.Ip)
-	case *IPOrDomain_Domain:
-		b.EncodeVarint(2<<3 | proto.WireBytes)
-		b.EncodeStringBytes(x.Domain)
-	case nil:
-	default:
-		return fmt.Errorf("IPOrDomain.Address has unexpected type %T", x)
-	}
-	return nil
-}
-
-func _IPOrDomain_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
-	m := msg.(*IPOrDomain)
-	switch tag {
-	case 1: // address.ip
-		if wire != proto.WireBytes {
-			return true, proto.ErrInternalBadWireType
-		}
-		x, err := b.DecodeRawBytes(true)
-		m.Address = &IPOrDomain_Ip{x}
-		return true, err
-	case 2: // address.domain
-		if wire != proto.WireBytes {
-			return true, proto.ErrInternalBadWireType
-		}
-		x, err := b.DecodeStringBytes()
-		m.Address = &IPOrDomain_Domain{x}
-		return true, err
-	default:
-		return false, nil
-	}
-}
-
-func _IPOrDomain_OneofSizer(msg proto.Message) (n int) {
-	m := msg.(*IPOrDomain)
-	// address
-	switch x := m.Address.(type) {
-	case *IPOrDomain_Ip:
-		n += 1 // tag and wire
-		n += proto.SizeVarint(uint64(len(x.Ip)))
-		n += len(x.Ip)
-	case *IPOrDomain_Domain:
-		n += 1 // tag and wire
-		n += proto.SizeVarint(uint64(len(x.Domain)))
-		n += len(x.Domain)
-	case nil:
-	default:
-		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
-	}
-	return n
-}
-
 func init() {
 	proto.RegisterType((*IPOrDomain)(nil), "v2ray.core.common.net.IPOrDomain")
 }

+ 1 - 1
common/net/destination.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Endpoint of a network connection.
 type Endpoint struct {

+ 1 - 1
common/net/network.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Network int32
 

+ 1 - 1
common/net/port.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // PortRange represents a range of ports.
 type PortRange struct {

+ 1 - 1
common/protocol/headers.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type SecurityType int32
 

+ 1 - 1
common/protocol/server_spec.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type ServerEndpoint struct {
 	Address              *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`

+ 1 - 1
common/protocol/user.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // User is a generic user for all procotols.
 type User struct {

+ 1 - 1
common/serial/typed_message.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // TypedMessage is a serialized proto message along with its type name.
 type TypedMessage struct {

+ 1 - 1
config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.
 type Config struct {

+ 1 - 1
proxy/blackhole/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type NoneResponse struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
proxy/dokodemo/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`

+ 1 - 1
proxy/freedom/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config_DomainStrategy int32
 

+ 1 - 1
proxy/http/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Config for HTTP proxy server.
 type ServerConfig struct {

+ 1 - 1
proxy/mtproto/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Account struct {
 	Secret               []byte   `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`

+ 1 - 1
proxy/shadowsocks/config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type CipherType int32
 

+ 1 - 1
proxy/socks/config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // AuthType is the authentication type of Socks proxy.
 type AuthType int32

+ 1 - 1
proxy/vmess/account.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Account struct {
 	// ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".

+ 1 - 1
proxy/vmess/inbound/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type DetourConfig struct {
 	To                   string   `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`

+ 1 - 1
proxy/vmess/outbound/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Receiver             []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=Receiver,proto3" json:"Receiver,omitempty"`

+ 1 - 1
transport/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Global transport settings. This affects all type of connections that go through V2Ray.
 // Deprecated. Use each settings in StreamConfig.

+ 1 - 1
transport/internet/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type TransportProtocol int32
 

+ 1 - 1
transport/internet/domainsocket/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	// Path of the domain socket. This overrides the IP/Port parameter from upstream caller.

+ 1 - 1
transport/internet/headers/http/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Header struct {
 	// "Accept", "Cookie", etc

+ 1 - 1
transport/internet/headers/noop/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
transport/internet/headers/srtp/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Version              uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`

+ 1 - 1
transport/internet/headers/tls/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type PacketConfig struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
transport/internet/headers/utp/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Version              uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`

+ 1 - 1
transport/internet/headers/wechat/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type VideoConfig struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
transport/internet/headers/wireguard/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type WireguardConfig struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
transport/internet/http/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Host                 []string `protobuf:"bytes,1,rep,name=host,proto3" json:"host,omitempty"`

+ 1 - 1
transport/internet/kcp/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Maximum Transmission Unit, in bytes.
 type MTU struct {

+ 1 - 1
transport/internet/quic/config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	Key                  string                   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`

+ 1 - 1
transport/internet/tcp/config.pb.go

@@ -16,7 +16,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	HeaderSettings       *serial.TypedMessage `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings,proto3" json:"header_settings,omitempty"`

+ 1 - 1
transport/internet/tls/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Certificate_Usage int32
 

+ 1 - 1
transport/internet/udp/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Config struct {
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`

+ 1 - 1
transport/internet/websocket/config.pb.go

@@ -15,7 +15,7 @@ var _ = math.Inf
 // is compatible with the proto package it is being compiled against.
 // A compilation error at this line likely means your copy of the
 // proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 type Header struct {
 	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`