config.pb.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package websocket
  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 ConnectionReuse struct {
  15. Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
  16. }
  17. func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
  18. func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
  19. func (*ConnectionReuse) ProtoMessage() {}
  20. func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  21. func (m *ConnectionReuse) GetEnable() bool {
  22. if m != nil {
  23. return m.Enable
  24. }
  25. return false
  26. }
  27. type Config struct {
  28. // URL path to the WebSocket service. Empty value means root(/).
  29. Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
  30. }
  31. func (m *Config) Reset() { *m = Config{} }
  32. func (m *Config) String() string { return proto.CompactTextString(m) }
  33. func (*Config) ProtoMessage() {}
  34. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  35. func (m *Config) GetPath() string {
  36. if m != nil {
  37. return m.Path
  38. }
  39. return ""
  40. }
  41. func init() {
  42. proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.websocket.ConnectionReuse")
  43. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.websocket.Config")
  44. }
  45. func init() {
  46. proto.RegisterFile("v2ray.com/core/transport/internet/websocket/config.proto", fileDescriptor0)
  47. }
  48. var fileDescriptor0 = []byte{
  49. // 204 bytes of a gzipped FileDescriptorProto
  50. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xcf, 0x31, 0x4b, 0xc7, 0x30,
  51. 0x10, 0x05, 0x70, 0x52, 0xfe, 0x94, 0x36, 0x8b, 0x92, 0x41, 0x3a, 0x96, 0x2e, 0xad, 0x08, 0x09,
  52. 0xd4, 0xc5, 0xd9, 0x4e, 0x3a, 0x49, 0x10, 0x05, 0xb7, 0x34, 0x9e, 0x5a, 0xb4, 0x77, 0x25, 0x3d,
  53. 0x95, 0x7e, 0x25, 0x3f, 0xa5, 0x58, 0x4c, 0xe6, 0xff, 0x76, 0x0f, 0xee, 0xc7, 0xe3, 0xc9, 0xab,
  54. 0xaf, 0x3e, 0xb8, 0x4d, 0x7b, 0x9a, 0x8d, 0xa7, 0x00, 0x86, 0x83, 0xc3, 0x75, 0xa1, 0xc0, 0x66,
  55. 0x42, 0x86, 0x80, 0xc0, 0xe6, 0x1b, 0xc6, 0x95, 0xfc, 0x3b, 0xb0, 0xf1, 0x84, 0x2f, 0xd3, 0xab,
  56. 0x5e, 0x02, 0x31, 0xa9, 0x36, 0xca, 0x00, 0x3a, 0x29, 0x1d, 0x95, 0x4e, 0xaa, 0x39, 0x97, 0x27,
  57. 0x03, 0x21, 0x82, 0xe7, 0x89, 0xd0, 0xc2, 0xe7, 0x0a, 0xea, 0x4c, 0xe6, 0x80, 0x6e, 0xfc, 0x80,
  58. 0x4a, 0xd4, 0xa2, 0x2b, 0xec, 0x7f, 0x6a, 0x1a, 0x99, 0x0f, 0x7b, 0x87, 0x52, 0xf2, 0xb0, 0x38,
  59. 0x7e, 0xab, 0xb2, 0x5a, 0x74, 0xa5, 0xdd, 0xef, 0xdb, 0x43, 0x21, 0x4e, 0xb3, 0xeb, 0x67, 0x79,
  60. 0xe1, 0x69, 0xd6, 0x47, 0xb6, 0xdf, 0x89, 0xa7, 0x32, 0x85, 0x9f, 0xac, 0x7d, 0xe8, 0xad, 0xdb,
  61. 0xf4, 0xf0, 0xc7, 0xee, 0x13, 0xbb, 0x89, 0xec, 0x31, 0x7e, 0x8e, 0xf9, 0x3e, 0xf2, 0xf2, 0x37,
  62. 0x00, 0x00, 0xff, 0xff, 0x7a, 0xf3, 0x2b, 0x77, 0x20, 0x01, 0x00, 0x00,
  63. }