config.pb.go 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. package dokodemo
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import net "v2ray.com/core/common/net"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  15. type Config struct {
  16. Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  17. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  18. NetworkList *net.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList,proto3" json:"network_list,omitempty"`
  19. Timeout uint32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // Deprecated: Do not use.
  20. FollowRedirect bool `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect,proto3" json:"follow_redirect,omitempty"`
  21. UserLevel uint32 `protobuf:"varint,6,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *Config) Reset() { *m = Config{} }
  27. func (m *Config) String() string { return proto.CompactTextString(m) }
  28. func (*Config) ProtoMessage() {}
  29. func (*Config) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_config_2e7b0f4424e753c0, []int{0}
  31. }
  32. func (m *Config) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_Config.Unmarshal(m, b)
  34. }
  35. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  37. }
  38. func (dst *Config) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_Config.Merge(dst, src)
  40. }
  41. func (m *Config) XXX_Size() int {
  42. return xxx_messageInfo_Config.Size(m)
  43. }
  44. func (m *Config) XXX_DiscardUnknown() {
  45. xxx_messageInfo_Config.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_Config proto.InternalMessageInfo
  48. func (m *Config) GetAddress() *net.IPOrDomain {
  49. if m != nil {
  50. return m.Address
  51. }
  52. return nil
  53. }
  54. func (m *Config) GetPort() uint32 {
  55. if m != nil {
  56. return m.Port
  57. }
  58. return 0
  59. }
  60. func (m *Config) GetNetworkList() *net.NetworkList {
  61. if m != nil {
  62. return m.NetworkList
  63. }
  64. return nil
  65. }
  66. // Deprecated: Do not use.
  67. func (m *Config) GetTimeout() uint32 {
  68. if m != nil {
  69. return m.Timeout
  70. }
  71. return 0
  72. }
  73. func (m *Config) GetFollowRedirect() bool {
  74. if m != nil {
  75. return m.FollowRedirect
  76. }
  77. return false
  78. }
  79. func (m *Config) GetUserLevel() uint32 {
  80. if m != nil {
  81. return m.UserLevel
  82. }
  83. return 0
  84. }
  85. func init() {
  86. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.dokodemo.Config")
  87. }
  88. func init() {
  89. proto.RegisterFile("v2ray.com/core/proxy/dokodemo/config.proto", fileDescriptor_config_2e7b0f4424e753c0)
  90. }
  91. var fileDescriptor_config_2e7b0f4424e753c0 = []byte{
  92. // 310 bytes of a gzipped FileDescriptorProto
  93. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xc2, 0x40,
  94. 0x10, 0x87, 0xd3, 0x8a, 0x80, 0x8b, 0x7f, 0x92, 0x3d, 0x2d, 0x46, 0x12, 0xe4, 0x02, 0xf1, 0xb0,
  95. 0x4d, 0xf0, 0xe8, 0x0d, 0x30, 0xc6, 0x84, 0x28, 0xd9, 0x83, 0x07, 0x2f, 0xa4, 0xb6, 0x83, 0x69,
  96. 0xe8, 0xee, 0x90, 0xe9, 0x02, 0xf6, 0x05, 0x7c, 0x18, 0x9f, 0xd2, 0x74, 0xdb, 0x46, 0x63, 0x82,
  97. 0xb7, 0xd9, 0xdf, 0x7e, 0xf3, 0xcd, 0x64, 0xd8, 0xcd, 0x6e, 0x4c, 0x61, 0x2e, 0x23, 0xd4, 0x41,
  98. 0x84, 0x04, 0xc1, 0x86, 0xf0, 0x23, 0x0f, 0x62, 0x5c, 0x63, 0x0c, 0x1a, 0x83, 0x08, 0xcd, 0x2a,
  99. 0x79, 0x97, 0x1b, 0x42, 0x8b, 0xbc, 0x5b, 0xb3, 0x04, 0xd2, 0x71, 0xb2, 0xe6, 0x2e, 0x87, 0x7f,
  100. 0x34, 0x11, 0x6a, 0x8d, 0x26, 0x30, 0x60, 0x83, 0x30, 0x8e, 0x09, 0xb2, 0xac, 0x74, 0xfc, 0x07,
  101. 0x1a, 0xb0, 0x7b, 0xa4, 0x75, 0x09, 0x0e, 0x3e, 0x7d, 0xd6, 0x9c, 0xba, 0xe9, 0xfc, 0x8e, 0xb5,
  102. 0x2a, 0x89, 0xf0, 0xfa, 0xde, 0xa8, 0x33, 0xbe, 0x96, 0xbf, 0x36, 0x29, 0x0d, 0xd2, 0x80, 0x95,
  103. 0x8f, 0x8b, 0x67, 0x9a, 0xa1, 0x0e, 0x13, 0xa3, 0xea, 0x0e, 0xce, 0x59, 0x63, 0x83, 0x64, 0x85,
  104. 0xdf, 0xf7, 0x46, 0x67, 0xca, 0xd5, 0xfc, 0x9e, 0x9d, 0x56, 0xc3, 0x96, 0x69, 0x92, 0x59, 0x71,
  105. 0xe4, 0xac, 0x83, 0x03, 0xd6, 0xa7, 0x12, 0x9d, 0x27, 0x99, 0x55, 0x1d, 0xf3, 0xf3, 0xe0, 0x57,
  106. 0xac, 0x65, 0x13, 0x0d, 0xb8, 0xb5, 0xa2, 0x51, 0xd8, 0x27, 0xbe, 0xf0, 0x54, 0x1d, 0xf1, 0x21,
  107. 0xbb, 0x58, 0x61, 0x9a, 0xe2, 0x7e, 0x49, 0x10, 0x27, 0x04, 0x91, 0x15, 0xc7, 0x7d, 0x6f, 0xd4,
  108. 0x56, 0xe7, 0x65, 0xac, 0xaa, 0x94, 0xf7, 0x18, 0xdb, 0x66, 0x40, 0xcb, 0x14, 0x76, 0x90, 0x8a,
  109. 0xa6, 0xdb, 0xf3, 0xa4, 0x48, 0xe6, 0x45, 0x30, 0x79, 0x60, 0xbd, 0x08, 0xb5, 0x3c, 0x78, 0xfb,
  110. 0x85, 0xf7, 0xda, 0xae, 0xeb, 0x2f, 0xbf, 0xfb, 0x32, 0x56, 0x61, 0x2e, 0xa7, 0x05, 0xb7, 0x70,
  111. 0xdc, 0xac, 0xfa, 0x7b, 0x6b, 0xba, 0xc3, 0xde, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x33, 0x8e,
  112. 0x70, 0xce, 0xf3, 0x01, 0x00, 0x00,
  113. }