config.pb.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/websocket/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package websocket is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/websocket/config.proto
  8. It has these top-level messages:
  9. ConnectionReuse
  10. Config
  11. */
  12. package websocket
  13. import proto "github.com/golang/protobuf/proto"
  14. import fmt "fmt"
  15. import math "math"
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  25. type ConnectionReuse struct {
  26. Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
  27. }
  28. func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
  29. func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
  30. func (*ConnectionReuse) ProtoMessage() {}
  31. func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  32. func (m *ConnectionReuse) GetEnable() bool {
  33. if m != nil {
  34. return m.Enable
  35. }
  36. return false
  37. }
  38. type Config struct {
  39. // Whether or not to reuse WebSocket connections.
  40. ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
  41. // URL path to the WebSocket service. Empty value means root(/).
  42. Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
  43. }
  44. func (m *Config) Reset() { *m = Config{} }
  45. func (m *Config) String() string { return proto.CompactTextString(m) }
  46. func (*Config) ProtoMessage() {}
  47. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  48. func (m *Config) GetConnectionReuse() *ConnectionReuse {
  49. if m != nil {
  50. return m.ConnectionReuse
  51. }
  52. return nil
  53. }
  54. func (m *Config) GetPath() string {
  55. if m != nil {
  56. return m.Path
  57. }
  58. return ""
  59. }
  60. func init() {
  61. proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.websocket.ConnectionReuse")
  62. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.websocket.Config")
  63. }
  64. func init() {
  65. proto.RegisterFile("v2ray.com/core/transport/internet/websocket/config.proto", fileDescriptor0)
  66. }
  67. var fileDescriptor0 = []byte{
  68. // 233 bytes of a gzipped FileDescriptorProto
  69. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4a, 0x03, 0x41,
  70. 0x10, 0x86, 0xb9, 0x20, 0x87, 0xd9, 0x14, 0x91, 0x2b, 0x24, 0x65, 0x48, 0x93, 0x88, 0xb0, 0x0b,
  71. 0x67, 0x93, 0x3a, 0x57, 0xd9, 0xc9, 0x22, 0x0a, 0x36, 0xb2, 0x37, 0x8c, 0x7a, 0x68, 0x66, 0x8e,
  72. 0xb9, 0x51, 0x49, 0xe9, 0xeb, 0xf8, 0x94, 0x72, 0x67, 0x76, 0x8b, 0x54, 0xd7, 0xed, 0x0e, 0xf3,
  73. 0xfd, 0xdf, 0xf0, 0x9b, 0xed, 0x57, 0x29, 0xe1, 0x60, 0x81, 0xf7, 0x0e, 0x58, 0xd0, 0xa9, 0x04,
  74. 0xea, 0x5a, 0x16, 0x75, 0x0d, 0x29, 0x0a, 0xa1, 0xba, 0x6f, 0xac, 0x3b, 0x86, 0x77, 0x54, 0x07,
  75. 0x4c, 0x2f, 0xcd, 0xab, 0x6d, 0x85, 0x95, 0x8b, 0x75, 0x24, 0x05, 0x6d, 0xa2, 0x6c, 0xa4, 0x6c,
  76. 0xa2, 0x56, 0x57, 0x66, 0x5e, 0x31, 0x11, 0x82, 0x36, 0x4c, 0x1e, 0x3f, 0x3b, 0x2c, 0x2e, 0x4d,
  77. 0x8e, 0x14, 0xea, 0x0f, 0x5c, 0x64, 0xcb, 0x6c, 0x73, 0xee, 0x8f, 0xbf, 0xd5, 0x4f, 0x66, 0xf2,
  78. 0x6a, 0x90, 0x14, 0x60, 0x2e, 0x20, 0x51, 0xcf, 0xd2, 0x63, 0xc3, 0xf2, 0xac, 0xdc, 0xda, 0x91,
  79. 0x66, 0x7b, 0xa2, 0xf5, 0x73, 0x38, 0xb9, 0xa3, 0x30, 0x67, 0x6d, 0xd0, 0xb7, 0xc5, 0x64, 0x99,
  80. 0x6d, 0xa6, 0x7e, 0x78, 0xef, 0xd8, 0x5c, 0x03, 0xef, 0xc7, 0x3a, 0x76, 0xb3, 0xff, 0x7b, 0xef,
  81. 0xfa, 0x4e, 0x9e, 0xa6, 0x69, 0xfe, 0x3b, 0x59, 0x3f, 0x94, 0x3e, 0x1c, 0x6c, 0xd5, 0x27, 0xdc,
  82. 0xa7, 0x84, 0xdb, 0x98, 0xf0, 0x18, 0x37, 0xeb, 0x7c, 0xe8, 0xf3, 0xe6, 0x2f, 0x00, 0x00, 0xff,
  83. 0xff, 0x62, 0x54, 0x39, 0x72, 0x8b, 0x01, 0x00, 0x00,
  84. }