server_spec.pb.go 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package protocol
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import v2ray_core_common_net "v2ray.com/core/common/net"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. type ServerEndpoint struct {
  11. Address *v2ray_core_common_net.IPOrDomain `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  12. Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
  13. User []*User `protobuf:"bytes,3,rep,name=user" json:"user,omitempty"`
  14. }
  15. func (m *ServerEndpoint) Reset() { *m = ServerEndpoint{} }
  16. func (m *ServerEndpoint) String() string { return proto.CompactTextString(m) }
  17. func (*ServerEndpoint) ProtoMessage() {}
  18. func (*ServerEndpoint) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
  19. func (m *ServerEndpoint) GetAddress() *v2ray_core_common_net.IPOrDomain {
  20. if m != nil {
  21. return m.Address
  22. }
  23. return nil
  24. }
  25. func (m *ServerEndpoint) GetPort() uint32 {
  26. if m != nil {
  27. return m.Port
  28. }
  29. return 0
  30. }
  31. func (m *ServerEndpoint) GetUser() []*User {
  32. if m != nil {
  33. return m.User
  34. }
  35. return nil
  36. }
  37. func init() {
  38. proto.RegisterType((*ServerEndpoint)(nil), "v2ray.core.common.protocol.ServerEndpoint")
  39. }
  40. func init() { proto.RegisterFile("v2ray.com/core/common/protocol/server_spec.proto", fileDescriptor2) }
  41. var fileDescriptor2 = []byte{
  42. // 251 bytes of a gzipped FileDescriptorProto
  43. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x8f, 0x3f, 0x4f, 0xf3, 0x30,
  44. 0x10, 0xc6, 0x95, 0xb6, 0x7a, 0x5f, 0xe4, 0x0a, 0x90, 0x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