config.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. HeaderEnding
  11. RequestConfig
  12. ResponseConfig
  13. */
  14. package http
  15. import proto "github.com/golang/protobuf/proto"
  16. import fmt "fmt"
  17. import math "math"
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  27. type Header struct {
  28. // "Accept", "Cookie", etc
  29. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  30. // Each entry must be valid in one piece. Random entry will be chosen if multiple entries present.
  31. Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
  32. }
  33. func (m *Header) Reset() { *m = Header{} }
  34. func (m *Header) String() string { return proto.CompactTextString(m) }
  35. func (*Header) ProtoMessage() {}
  36. func (*Header) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  37. type HeaderEnding struct {
  38. Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
  39. }
  40. func (m *HeaderEnding) Reset() { *m = HeaderEnding{} }
  41. func (m *HeaderEnding) String() string { return proto.CompactTextString(m) }
  42. func (*HeaderEnding) ProtoMessage() {}
  43. func (*HeaderEnding) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  44. type RequestConfig struct {
  45. // Full HTTP version like "1.1".
  46. Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
  47. // GET, POST, CONNECT etc
  48. Method string `protobuf:"bytes,2,opt,name=method" json:"method,omitempty"`
  49. // URI like "/login.php"
  50. Uri []string `protobuf:"bytes,3,rep,name=uri" json:"uri,omitempty"`
  51. Header []*Header `protobuf:"bytes,4,rep,name=header" json:"header,omitempty"`
  52. }
  53. func (m *RequestConfig) Reset() { *m = RequestConfig{} }
  54. func (m *RequestConfig) String() string { return proto.CompactTextString(m) }
  55. func (*RequestConfig) ProtoMessage() {}
  56. func (*RequestConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  57. func (m *RequestConfig) GetHeader() []*Header {
  58. if m != nil {
  59. return m.Header
  60. }
  61. return nil
  62. }
  63. type ResponseConfig struct {
  64. Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
  65. Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
  66. Reason string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
  67. Header []*Header `protobuf:"bytes,4,rep,name=header" json:"header,omitempty"`
  68. }
  69. func (m *ResponseConfig) Reset() { *m = ResponseConfig{} }
  70. func (m *ResponseConfig) String() string { return proto.CompactTextString(m) }
  71. func (*ResponseConfig) ProtoMessage() {}
  72. func (*ResponseConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  73. func (m *ResponseConfig) GetHeader() []*Header {
  74. if m != nil {
  75. return m.Header
  76. }
  77. return nil
  78. }
  79. func init() {
  80. proto.RegisterType((*Header)(nil), "v2ray.core.transport.internet.authenticators.http.Header")
  81. proto.RegisterType((*HeaderEnding)(nil), "v2ray.core.transport.internet.authenticators.http.HeaderEnding")
  82. proto.RegisterType((*RequestConfig)(nil), "v2ray.core.transport.internet.authenticators.http.RequestConfig")
  83. proto.RegisterType((*ResponseConfig)(nil), "v2ray.core.transport.internet.authenticators.http.ResponseConfig")
  84. }
  85. func init() {
  86. proto.RegisterFile("v2ray.com/core/transport/internet/authenticators/http/config.proto", fileDescriptor0)
  87. }
  88. var fileDescriptor0 = []byte{
  89. // 303 bytes of a gzipped FileDescriptorProto
  90. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x92, 0x31, 0x4b, 0xfc, 0x40,
  91. 0x10, 0xc5, 0xc9, 0xe5, 0xfe, 0xf9, 0x73, 0x73, 0x2a, 0xb2, 0x88, 0x6c, 0x79, 0x1c, 0x16, 0x57,
  92. 0x6d, 0xf0, 0xc4, 0xc2, 0xf6, 0x44, 0x10, 0x2b, 0x4d, 0x69, 0xb7, 0xe6, 0xc6, 0x4b, 0xc0, 0xec,
  93. 0xc4, 0xd9, 0x49, 0xc0, 0x2f, 0x64, 0xe7, 0x77, 0x94, 0x64, 0x13, 0xc5, 0xce, 0x2b, 0xec, 0xf6,
  94. 0xcd, 0xce, 0xef, 0xcd, 0x1b, 0x18, 0xd8, 0xb4, 0x6b, 0xb6, 0x6f, 0x26, 0xa7, 0x2a, 0xcd, 0x89,
  95. 0x31, 0x15, 0xb6, 0xce, 0xd7, 0xc4, 0x92, 0x96, 0x4e, 0x90, 0x1d, 0x4a, 0x6a, 0x1b, 0x29, 0xd0,
  96. 0x49, 0x99, 0x5b, 0x21, 0xf6, 0x69, 0x21, 0x52, 0xa7, 0x39, 0xb9, 0xe7, 0x72, 0x67, 0x6a, 0x26,
  97. 0x21, 0x75, 0x3e, 0x7a, 0x30, 0x9a, 0x2f, 0xde, 0x8c, 0xbc, 0xf9, 0xc9, 0x9b, 0x8e, 0x5f, 0xae,
  98. 0x21, 0xb9, 0x45, 0xbb, 0x45, 0x56, 0x0a, 0xa6, 0xce, 0x56, 0xa8, 0xa3, 0x45, 0xb4, 0x9a, 0x65,
  99. 0xfd, 0x5b, 0x9d, 0xc0, 0xbf, 0xd6, 0xbe, 0x34, 0xa8, 0x27, 0x8b, 0x78, 0x35, 0xcb, 0x82, 0x58,
  100. 0x9e, 0xc1, 0x41, 0x60, 0x6e, 0xdc, 0xb6, 0x74, 0xbb, 0xef, 0xae, 0x80, 0x0e, 0x5d, 0xef, 0x11,
  101. 0x1c, 0x66, 0xf8, 0xda, 0xa0, 0x97, 0xeb, 0x3e, 0xa4, 0xd2, 0xf0, 0xbf, 0x45, 0xf6, 0x25, 0xb9,
  102. 0xa1, 0x73, 0x94, 0xea, 0x14, 0x92, 0x0a, 0xa5, 0xa0, 0xad, 0x9e, 0xf4, 0x1f, 0x83, 0x52, 0xc7,
  103. 0x10, 0x37, 0x5c, 0xea, 0xb8, 0x9f, 0xde, 0x3d, 0xd5, 0x03, 0x24, 0x45, 0x3f, 0x5b, 0x4f, 0x17,
  104. 0xf1, 0x6a, 0xbe, 0xbe, 0x32, 0x7b, 0xef, 0x6c, 0x42, 0xf8, 0x6c, 0x30, 0x5a, 0x7e, 0x44, 0x70,
  105. 0x94, 0xa1, 0xaf, 0xc9, 0x79, 0xfc, 0x4d, 0x52, 0x2f, 0x56, 0x1a, 0x3f, 0x26, 0x0d, 0xaa, 0xab,
  106. 0x33, 0x5a, 0x4f, 0x4e, 0xc7, 0xa1, 0x1e, 0xd4, 0x1f, 0xe4, 0xdd, 0xdc, 0xc1, 0x65, 0x4e, 0xd5,
  107. 0xfe, 0x3e, 0x9b, 0x79, 0xd8, 0xee, 0xbe, 0xbb, 0x95, 0xc7, 0x69, 0x57, 0x7a, 0x4a, 0xfa, 0xc3,
  108. 0xb9, 0xf8, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x78, 0x8c, 0xa7, 0x40, 0x7e, 0x02, 0x00, 0x00,
  109. }