config.pb.go 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. // Config for HTTP proxy server.
  15. type ServerConfig struct {
  16. Timeout uint32 `protobuf:"varint,1,opt,name=timeout" json:"timeout,omitempty"`
  17. }
  18. func (m *ServerConfig) Reset() { *m = ServerConfig{} }
  19. func (m *ServerConfig) String() string { return proto.CompactTextString(m) }
  20. func (*ServerConfig) ProtoMessage() {}
  21. func (*ServerConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  22. func (m *ServerConfig) GetTimeout() uint32 {
  23. if m != nil {
  24. return m.Timeout
  25. }
  26. return 0
  27. }
  28. // ClientConfig for HTTP proxy client.
  29. type ClientConfig struct {
  30. }
  31. func (m *ClientConfig) Reset() { *m = ClientConfig{} }
  32. func (m *ClientConfig) String() string { return proto.CompactTextString(m) }
  33. func (*ClientConfig) ProtoMessage() {}
  34. func (*ClientConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  35. func init() {
  36. proto.RegisterType((*ServerConfig)(nil), "v2ray.core.proxy.http.ServerConfig")
  37. proto.RegisterType((*ClientConfig)(nil), "v2ray.core.proxy.http.ClientConfig")
  38. }
  39. func init() { proto.RegisterFile("v2ray.com/core/proxy/http/config.proto", fileDescriptor0) }
  40. var fileDescriptor0 = []byte{
  41. // 161 bytes of a gzipped FileDescriptorProto
  42. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2b, 0x33, 0x2a, 0x4a,
  43. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x28, 0xca, 0xaf, 0xa8,
  44. 0xd4, 0xcf, 0x28, 0x29, 0x29, 0xd0, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca,
  45. 0x2f, 0xc9, 0x17, 0x12, 0x85, 0xa9, 0x2b, 0x4a, 0xd5, 0x03, 0xab, 0xd1, 0x03, 0xa9, 0x51, 0xd2,
  46. 0xe0, 0xe2, 0x09, 0x4e, 0x2d, 0x2a, 0x4b, 0x2d, 0x72, 0x06, 0x2b, 0x16, 0x92, 0xe0, 0x62, 0x2f,
  47. 0xc9, 0xcc, 0x4d, 0xcd, 0x2f, 0x2d, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0d, 0x82, 0x71, 0x95,
  48. 0xf8, 0xb8, 0x78, 0x9c, 0x73, 0x32, 0x53, 0xf3, 0x4a, 0x20, 0x2a, 0x9d, 0xac, 0xb9, 0x24, 0x93,
  49. 0xf3, 0x73, 0xf5, 0xb0, 0x1a, 0x1b, 0xc0, 0x18, 0xc5, 0x02, 0xa2, 0x57, 0x31, 0x89, 0x86, 0x19,
  50. 0x05, 0x25, 0x56, 0xea, 0x39, 0x83, 0xe4, 0x03, 0xc0, 0xf2, 0x1e, 0x25, 0x25, 0x05, 0x49, 0x6c,
  51. 0x60, 0x47, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xae, 0x86, 0xab, 0xbe, 0x00, 0x00,
  52. 0x00,
  53. }