config.pb.go 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/authenticators/http/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package http is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/authenticators/http/config.proto
  8. It has these top-level messages:
  9. Header
  10. Version
  11. Method
  12. RequestConfig
  13. Status
  14. ResponseConfig
  15. Config
  16. */
  17. package http
  18. import proto "github.com/golang/protobuf/proto"
  19. import fmt "fmt"
  20. import math "math"
  21. // Reference imports to suppress errors if they are not otherwise used.
  22. var _ = proto.Marshal
  23. var _ = fmt.Errorf
  24. var _ = math.Inf
  25. // This is a compile-time assertion to ensure that this generated file
  26. // is compatible with the proto package it is being compiled against.
  27. // A compilation error at this line likely means your copy of the
  28. // proto package needs to be updated.
  29. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  30. type Header struct {
  31. // "Accept", "Cookie", etc
  32. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  33. // Each entry must be valid in one piece. Random entry will be chosen if multiple entries present.
  34. Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
  35. }
  36. func (m *Header) Reset() { *m = Header{} }
  37. func (m *Header) String() string { return proto.CompactTextString(m) }
  38. func (*Header) ProtoMessage() {}
  39. func (*Header) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  40. // HTTP version. Default value "1.1".
  41. type Version struct {
  42. Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
  43. }
  44. func (m *Version) Reset() { *m = Version{} }
  45. func (m *Version) String() string { return proto.CompactTextString(m) }
  46. func (*Version) ProtoMessage() {}
  47. func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  48. // HTTP method. Default value "GET".
  49. type Method struct {
  50. Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
  51. }
  52. func (m *Method) Reset() { *m = Method{} }
  53. func (m *Method) String() string { return proto.CompactTextString(m) }
  54. func (*Method) ProtoMessage() {}
  55. func (*Method) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  56. type RequestConfig struct {
  57. // Full HTTP version like "1.1".
  58. Version *Version `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
  59. // GET, POST, CONNECT etc
  60. Method *Method `protobuf:"bytes,2,opt,name=method" json:"method,omitempty"`
  61. // URI like "/login.php"
  62. Uri []string `protobuf:"bytes,3,rep,name=uri" json:"uri,omitempty"`
  63. Header []*Header `protobuf:"bytes,4,rep,name=header" json:"header,omitempty"`
  64. }
  65. func (m *RequestConfig) Reset() { *m = RequestConfig{} }
  66. func (m *RequestConfig) String() string { return proto.CompactTextString(m) }
  67. func (*RequestConfig) ProtoMessage() {}
  68. func (*RequestConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  69. func (m *RequestConfig) GetVersion() *Version {
  70. if m != nil {
  71. return m.Version
  72. }
  73. return nil
  74. }
  75. func (m *RequestConfig) GetMethod() *Method {
  76. if m != nil {
  77. return m.Method
  78. }
  79. return nil
  80. }
  81. func (m *RequestConfig) GetHeader() []*Header {
  82. if m != nil {
  83. return m.Header
  84. }
  85. return nil
  86. }
  87. type Status struct {
  88. // Status code. Default "200".
  89. Code string `protobuf:"bytes,1,opt,name=code" json:"code,omitempty"`
  90. // Statue reason. Default "OK".
  91. Reason string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
  92. }
  93. func (m *Status) Reset() { *m = Status{} }
  94. func (m *Status) String() string { return proto.CompactTextString(m) }
  95. func (*Status) ProtoMessage() {}
  96. func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  97. type ResponseConfig struct {
  98. Version *Version `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
  99. Status *Status `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
  100. Header []*Header `protobuf:"bytes,3,rep,name=header" json:"header,omitempty"`
  101. }
  102. func (m *ResponseConfig) Reset() { *m = ResponseConfig{} }
  103. func (m *ResponseConfig) String() string { return proto.CompactTextString(m) }
  104. func (*ResponseConfig) ProtoMessage() {}
  105. func (*ResponseConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  106. func (m *ResponseConfig) GetVersion() *Version {
  107. if m != nil {
  108. return m.Version
  109. }
  110. return nil
  111. }
  112. func (m *ResponseConfig) GetStatus() *Status {
  113. if m != nil {
  114. return m.Status
  115. }
  116. return nil
  117. }
  118. func (m *ResponseConfig) GetHeader() []*Header {
  119. if m != nil {
  120. return m.Header
  121. }
  122. return nil
  123. }
  124. type Config struct {
  125. Request *RequestConfig `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
  126. Response *ResponseConfig `protobuf:"bytes,2,opt,name=response" json:"response,omitempty"`
  127. }
  128. func (m *Config) Reset() { *m = Config{} }
  129. func (m *Config) String() string { return proto.CompactTextString(m) }
  130. func (*Config) ProtoMessage() {}
  131. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  132. func (m *Config) GetRequest() *RequestConfig {
  133. if m != nil {
  134. return m.Request
  135. }
  136. return nil
  137. }
  138. func (m *Config) GetResponse() *ResponseConfig {
  139. if m != nil {
  140. return m.Response
  141. }
  142. return nil
  143. }
  144. func init() {
  145. proto.RegisterType((*Header)(nil), "v2ray.core.transport.internet.authenticators.http.Header")
  146. proto.RegisterType((*Version)(nil), "v2ray.core.transport.internet.authenticators.http.Version")
  147. proto.RegisterType((*Method)(nil), "v2ray.core.transport.internet.authenticators.http.Method")
  148. proto.RegisterType((*RequestConfig)(nil), "v2ray.core.transport.internet.authenticators.http.RequestConfig")
  149. proto.RegisterType((*Status)(nil), "v2ray.core.transport.internet.authenticators.http.Status")
  150. proto.RegisterType((*ResponseConfig)(nil), "v2ray.core.transport.internet.authenticators.http.ResponseConfig")
  151. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.authenticators.http.Config")
  152. }
  153. func init() {
  154. proto.RegisterFile("v2ray.com/core/transport/internet/authenticators/http/config.proto", fileDescriptor0)
  155. }
  156. var fileDescriptor0 = []byte{
  157. // 389 bytes of a gzipped FileDescriptorProto
  158. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x4e, 0xe3, 0x30,
  159. 0x10, 0x40, 0xd5, 0xa4, 0x9b, 0x6e, 0xa7, 0xda, 0xd5, 0xca, 0x5a, 0xad, 0x72, 0xda, 0xad, 0x72,
  160. 0xea, 0xc9, 0xd1, 0x76, 0x97, 0x03, 0x9c, 0xa0, 0x5c, 0x10, 0x12, 0x12, 0x18, 0xc4, 0xa1, 0x12,
  161. 0x07, 0x93, 0x0e, 0x24, 0x12, 0xb1, 0x83, 0xed, 0x54, 0xe2, 0x1f, 0xf8, 0x05, 0xbe, 0x86, 0x1f,
  162. 0x43, 0xb1, 0x9d, 0xd2, 0x1e, 0x38, 0x34, 0xc0, 0xcd, 0x4e, 0x66, 0x9e, 0x67, 0xde, 0x58, 0x86,
  163. 0xd9, 0x72, 0xaa, 0xf8, 0x03, 0xcd, 0x64, 0x99, 0x66, 0x52, 0x61, 0x6a, 0x14, 0x17, 0xba, 0x92,
  164. 0xca, 0xa4, 0x85, 0x30, 0xa8, 0x04, 0x9a, 0x94, 0xd7, 0x26, 0x47, 0x61, 0x8a, 0x8c, 0x1b, 0xa9,
  165. 0x74, 0x9a, 0x1b, 0x53, 0xa5, 0x99, 0x14, 0x37, 0xc5, 0x2d, 0xad, 0x94, 0x34, 0x92, 0xfc, 0x6d,
  166. 0x19, 0x0a, 0xe9, 0x2a, 0x9f, 0xb6, 0xf9, 0x74, 0x33, 0x9f, 0x36, 0xf9, 0xc9, 0x14, 0xa2, 0x23,
  167. 0xe4, 0x0b, 0x54, 0x84, 0x40, 0x5f, 0xf0, 0x12, 0xe3, 0xde, 0xb8, 0x37, 0x19, 0x32, 0xbb, 0x26,
  168. 0x3f, 0xe1, 0xcb, 0x92, 0xdf, 0xd5, 0x18, 0x07, 0xe3, 0x70, 0x32, 0x64, 0x6e, 0x93, 0xfc, 0x81,
  169. 0xc1, 0x25, 0x2a, 0x5d, 0x48, 0xf1, 0x1a, 0xe0, 0xb2, 0x7c, 0xc0, 0x6f, 0x88, 0x4e, 0xd0, 0xe4,
  170. 0x72, 0xf1, 0xc6, 0xff, 0xa7, 0x00, 0xbe, 0x31, 0xbc, 0xaf, 0x51, 0x9b, 0x43, 0x5b, 0x3f, 0xb9,
  171. 0x80, 0xc1, 0xd2, 0x21, 0x6d, 0xe4, 0x68, 0xba, 0x47, 0xb7, 0xee, 0x85, 0xfa, 0xa2, 0x58, 0x8b,
  172. 0x22, 0x67, 0x10, 0x95, 0xb6, 0x8e, 0x38, 0xb0, 0xd0, 0xdd, 0x0e, 0x50, 0xd7, 0x08, 0xf3, 0x20,
  173. 0xf2, 0x03, 0xc2, 0x5a, 0x15, 0x71, 0x68, 0x7d, 0x34, 0xcb, 0xe6, 0x90, 0xdc, 0x1a, 0x8c, 0xfb,
  174. 0xe3, 0xb0, 0xe3, 0x21, 0x6e, 0x04, 0xcc, 0x83, 0x92, 0xff, 0x10, 0x9d, 0x1b, 0x6e, 0x6a, 0xdd,
  175. 0x0c, 0x25, 0x93, 0x8b, 0xd5, 0x50, 0x9a, 0x35, 0xf9, 0x05, 0x91, 0x42, 0xae, 0xa5, 0xb0, 0x5d,
  176. 0x0d, 0x99, 0xdf, 0x25, 0x8f, 0x01, 0x7c, 0x67, 0xa8, 0x2b, 0x29, 0x34, 0x7e, 0xb6, 0x56, 0x6d,
  177. 0xcb, 0x7b, 0x87, 0x56, 0xd7, 0x1f, 0xf3, 0xa0, 0x35, 0x89, 0xe1, 0x47, 0x49, 0x7c, 0xee, 0x41,
  178. 0xe4, 0x35, 0xcc, 0x61, 0xa0, 0xdc, 0x75, 0xf3, 0x1a, 0xf6, 0x3b, 0xe0, 0x37, 0x2e, 0x2c, 0x6b,
  179. 0x81, 0xe4, 0x0a, 0xbe, 0x2a, 0x2f, 0xdd, 0xeb, 0x38, 0xe8, 0x04, 0x5f, 0x9f, 0x1b, 0x5b, 0x21,
  180. 0x67, 0xc7, 0xb0, 0x93, 0xc9, 0x72, 0x7b, 0xe2, 0x6c, 0xe4, 0x50, 0xa7, 0xcd, 0xc3, 0x30, 0xef,
  181. 0x37, 0x9f, 0xae, 0x23, 0xfb, 0x4a, 0xfc, 0x7b, 0x09, 0x00, 0x00, 0xff, 0xff, 0x7f, 0x1d, 0x02,
  182. 0x42, 0x6b, 0x04, 0x00, 0x00,
  183. }