config.pb.go 3.1 KB

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