config.pb.go 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package http
  2. import (
  3. fmt "fmt"
  4. proto "github.com/golang/protobuf/proto"
  5. math "math"
  6. )
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. type Config struct {
  17. Host []string `protobuf:"bytes,1,rep,name=host,proto3" json:"host,omitempty"`
  18. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
  19. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  20. XXX_unrecognized []byte `json:"-"`
  21. XXX_sizecache int32 `json:"-"`
  22. }
  23. func (m *Config) Reset() { *m = Config{} }
  24. func (m *Config) String() string { return proto.CompactTextString(m) }
  25. func (*Config) ProtoMessage() {}
  26. func (*Config) Descriptor() ([]byte, []int) {
  27. return fileDescriptor_18c29e00ea34cfae, []int{0}
  28. }
  29. func (m *Config) XXX_Unmarshal(b []byte) error {
  30. return xxx_messageInfo_Config.Unmarshal(m, b)
  31. }
  32. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  33. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  34. }
  35. func (m *Config) XXX_Merge(src proto.Message) {
  36. xxx_messageInfo_Config.Merge(m, src)
  37. }
  38. func (m *Config) XXX_Size() int {
  39. return xxx_messageInfo_Config.Size(m)
  40. }
  41. func (m *Config) XXX_DiscardUnknown() {
  42. xxx_messageInfo_Config.DiscardUnknown(m)
  43. }
  44. var xxx_messageInfo_Config proto.InternalMessageInfo
  45. func (m *Config) GetHost() []string {
  46. if m != nil {
  47. return m.Host
  48. }
  49. return nil
  50. }
  51. func (m *Config) GetPath() string {
  52. if m != nil {
  53. return m.Path
  54. }
  55. return ""
  56. }
  57. func init() {
  58. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.http.Config")
  59. }
  60. func init() {
  61. proto.RegisterFile("v2ray.com/core/transport/internet/http/config.proto", fileDescriptor_18c29e00ea34cfae)
  62. }
  63. var fileDescriptor_18c29e00ea34cfae = []byte{
  64. // 173 bytes of a gzipped FileDescriptorProto
  65. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x2e, 0x33, 0x2a, 0x4a,
  66. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b,
  67. 0x2e, 0xc8, 0x2f, 0x2a, 0xd1, 0xcf, 0xcc, 0x2b, 0x49, 0x2d, 0xca, 0x4b, 0x2d, 0xd1, 0xcf, 0x28,
  68. 0x29, 0x29, 0xd0, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
  69. 0x52, 0x82, 0x69, 0x2a, 0x4a, 0xd5, 0x83, 0x6b, 0xd0, 0x83, 0x69, 0xd0, 0x03, 0x69, 0x50, 0x32,
  70. 0xe0, 0x62, 0x73, 0x06, 0xeb, 0x11, 0x12, 0xe2, 0x62, 0xc9, 0xc8, 0x2f, 0x2e, 0x91, 0x60, 0x54,
  71. 0x60, 0xd6, 0xe0, 0x0c, 0x02, 0xb3, 0x41, 0x62, 0x05, 0x89, 0x25, 0x19, 0x12, 0x4c, 0x0a, 0x8c,
  72. 0x20, 0x31, 0x10, 0xdb, 0x29, 0x94, 0x4b, 0x2d, 0x39, 0x3f, 0x57, 0x8f, 0xb0, 0xd9, 0x01, 0x8c,
  73. 0x51, 0x2c, 0x20, 0x7a, 0x15, 0x93, 0x52, 0x98, 0x51, 0x50, 0x62, 0xa5, 0x9e, 0x33, 0x48, 0x71,
  74. 0x08, 0x5c, 0xb1, 0x27, 0x4c, 0xb1, 0x47, 0x49, 0x49, 0x41, 0x12, 0x1b, 0xd8, 0xcd, 0xc6, 0x80,
  75. 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xf2, 0x95, 0x63, 0xea, 0x00, 0x00, 0x00,
  76. }