config.pb.go 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package domainsocket
  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. // Path of the domain socket. This overrides the IP/Port parameter from upstream caller.
  18. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
  19. // Abstract speicifies whether to use abstract namespace or not.
  20. // Traditionally Unix domain socket is file system based. Abstract domain socket can be used without acquiring file lock.
  21. Abstract bool `protobuf:"varint,2,opt,name=abstract,proto3" json:"abstract,omitempty"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *Config) Reset() { *m = Config{} }
  27. func (m *Config) String() string { return proto.CompactTextString(m) }
  28. func (*Config) ProtoMessage() {}
  29. func (*Config) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_76473d52e3e3815d, []int{0}
  31. }
  32. func (m *Config) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_Config.Unmarshal(m, b)
  34. }
  35. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  37. }
  38. func (m *Config) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_Config.Merge(m, src)
  40. }
  41. func (m *Config) XXX_Size() int {
  42. return xxx_messageInfo_Config.Size(m)
  43. }
  44. func (m *Config) XXX_DiscardUnknown() {
  45. xxx_messageInfo_Config.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_Config proto.InternalMessageInfo
  48. func (m *Config) GetPath() string {
  49. if m != nil {
  50. return m.Path
  51. }
  52. return ""
  53. }
  54. func (m *Config) GetAbstract() bool {
  55. if m != nil {
  56. return m.Abstract
  57. }
  58. return false
  59. }
  60. func init() {
  61. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.domainsocket.Config")
  62. }
  63. func init() {
  64. proto.RegisterFile("v2ray.com/core/transport/internet/domainsocket/config.proto", fileDescriptor_76473d52e3e3815d)
  65. }
  66. var fileDescriptor_76473d52e3e3815d = []byte{
  67. // 189 bytes of a gzipped FileDescriptorProto
  68. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x2e, 0x33, 0x2a, 0x4a,
  69. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b,
  70. 0x2e, 0xc8, 0x2f, 0x2a, 0xd1, 0xcf, 0xcc, 0x2b, 0x49, 0x2d, 0xca, 0x4b, 0x2d, 0xd1, 0x4f, 0xc9,
  71. 0xcf, 0x4d, 0xcc, 0xcc, 0x2b, 0xce, 0x4f, 0xce, 0x4e, 0x2d, 0xd1, 0x4f, 0xce, 0xcf, 0x4b, 0xcb,
  72. 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0x82, 0x69, 0x2e, 0x4a, 0xd5, 0x83, 0x6b,
  73. 0xd4, 0x83, 0x69, 0xd4, 0x43, 0xd6, 0xa8, 0x64, 0xc1, 0xc5, 0xe6, 0x0c, 0xd6, 0x2b, 0x24, 0xc4,
  74. 0xc5, 0x52, 0x90, 0x58, 0x92, 0x21, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0x66, 0x0b, 0x49,
  75. 0x71, 0x71, 0x24, 0x26, 0x15, 0x97, 0x14, 0x25, 0x26, 0x97, 0x48, 0x30, 0x29, 0x30, 0x6a, 0x70,
  76. 0x04, 0xc1, 0xf9, 0x4e, 0xb9, 0x5c, 0x20, 0xe7, 0xe9, 0x11, 0x6f, 0x57, 0x00, 0x63, 0x14, 0x0f,
  77. 0x32, 0x7f, 0x15, 0x93, 0x56, 0x98, 0x51, 0x50, 0x62, 0xa5, 0x9e, 0x33, 0x48, 0x73, 0x08, 0x5c,
  78. 0xb3, 0x27, 0x4c, 0xb3, 0x0b, 0x58, 0x71, 0x30, 0x58, 0x71, 0x12, 0x1b, 0xd8, 0x6f, 0xc6, 0x80,
  79. 0x00, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xb3, 0xe6, 0x90, 0x1a, 0x01, 0x00, 0x00,
  80. }