config.pb.go 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/tcp/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package tcp is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/tcp/config.proto
  8. It has these top-level messages:
  9. ConnectionReuse
  10. Config
  11. */
  12. package tcp
  13. import proto "github.com/golang/protobuf/proto"
  14. import fmt "fmt"
  15. import math "math"
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  25. type ConnectionReuse struct {
  26. Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
  27. }
  28. func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
  29. func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
  30. func (*ConnectionReuse) ProtoMessage() {}
  31. func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  32. type Config struct {
  33. ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
  34. }
  35. func (m *Config) Reset() { *m = Config{} }
  36. func (m *Config) String() string { return proto.CompactTextString(m) }
  37. func (*Config) ProtoMessage() {}
  38. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  39. func (m *Config) GetConnectionReuse() *ConnectionReuse {
  40. if m != nil {
  41. return m.ConnectionReuse
  42. }
  43. return nil
  44. }
  45. func init() {
  46. proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.tcp.ConnectionReuse")
  47. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.tcp.Config")
  48. }
  49. func init() { proto.RegisterFile("v2ray.com/core/transport/internet/tcp/config.proto", fileDescriptor0) }
  50. var fileDescriptor0 = []byte{
  51. // 191 bytes of a gzipped FileDescriptorProto
  52. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x8f, 0x41, 0x6b, 0x83, 0x40,
  53. 0x10, 0x85, 0x91, 0x82, 0x94, 0xf5, 0x60, 0xf1, 0x50, 0x7a, 0x6c, 0x85, 0x42, 0x7b, 0xd9, 0x85,
  54. 0xed, 0xa9, 0x57, 0xfd, 0x03, 0xc1, 0x63, 0x20, 0x04, 0x1d, 0x26, 0x22, 0xc4, 0x99, 0x65, 0x9c,
  55. 0x04, 0xf2, 0xef, 0x83, 0x26, 0x0a, 0xc9, 0xc5, 0xe3, 0x2e, 0xdf, 0xf7, 0xde, 0x3c, 0xe3, 0xcf,
  56. 0x5e, 0xea, 0x8b, 0x05, 0xee, 0x1d, 0xb0, 0xa0, 0x53, 0xa9, 0x69, 0x08, 0x2c, 0xea, 0x3a, 0x52,
  57. 0x14, 0x42, 0x75, 0x0a, 0xc1, 0x01, 0xd3, 0xa1, 0x6b, 0x6d, 0x10, 0x56, 0xce, 0xbe, 0x66, 0x47,
  58. 0xd0, 0x2e, 0xbc, 0x9d, 0x79, 0xab, 0x10, 0xf2, 0x5f, 0x93, 0x96, 0x4c, 0x84, 0xa0, 0x1d, 0x53,
  59. 0x85, 0xa7, 0x01, 0xb3, 0x77, 0x13, 0x23, 0xd5, 0xcd, 0x11, 0x3f, 0xa2, 0xcf, 0xe8, 0xe7, 0xb5,
  60. 0xba, 0xbf, 0xf2, 0xd6, 0xc4, 0xe5, 0x94, 0x9e, 0xed, 0xcc, 0x1b, 0x2c, 0xd2, 0x5e, 0x46, 0x6b,
  61. 0x62, 0x13, 0xef, 0xed, 0x6a, 0xa5, 0x7d, 0xea, 0xab, 0x52, 0x78, 0xfc, 0x28, 0xfe, 0xcd, 0x37,
  62. 0x70, 0xbf, 0x9e, 0x54, 0x24, 0xb7, 0x7b, 0x36, 0xe3, 0xd8, 0xed, 0x8b, 0x42, 0x68, 0xe2, 0x69,
  63. 0xf8, 0xdf, 0x35, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x16, 0x42, 0x0b, 0x2e, 0x01, 0x00, 0x00,
  64. }