Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetDiscover() *Message_Discover
- func (x *Message) GetDiscoverResponse() *Message_DiscoverResponse
- func (x *Message) GetDiscoverSubscribe() *Message_DiscoverSubscribe
- func (x *Message) GetDiscoverSubscribeResponse() *Message_DiscoverSubscribeResponse
- func (x *Message) GetRegister() *Message_Register
- func (x *Message) GetRegisterResponse() *Message_RegisterResponse
- func (x *Message) GetType() Message_MessageType
- func (x *Message) GetUnregister() *Message_Unregister
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Discover
- func (*Message_Discover) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Discover) GetCookie() []byte
- func (x *Message_Discover) GetLimit() int64
- func (x *Message_Discover) GetNs() string
- func (*Message_Discover) ProtoMessage()
- func (x *Message_Discover) ProtoReflect() protoreflect.Message
- func (x *Message_Discover) Reset()
- func (x *Message_Discover) String() string
- type Message_DiscoverResponse
- func (*Message_DiscoverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *Message_DiscoverResponse) GetCookie() []byte
- func (x *Message_DiscoverResponse) GetRegistrations() []*Message_Register
- func (x *Message_DiscoverResponse) GetStatus() Message_ResponseStatus
- func (x *Message_DiscoverResponse) GetStatusText() string
- func (*Message_DiscoverResponse) ProtoMessage()
- func (x *Message_DiscoverResponse) ProtoReflect() protoreflect.Message
- func (x *Message_DiscoverResponse) Reset()
- func (x *Message_DiscoverResponse) String() string
- type Message_DiscoverSubscribe
- func (*Message_DiscoverSubscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Message_DiscoverSubscribe) GetNs() string
- func (x *Message_DiscoverSubscribe) GetSupportedSubscriptionTypes() []string
- func (*Message_DiscoverSubscribe) ProtoMessage()
- func (x *Message_DiscoverSubscribe) ProtoReflect() protoreflect.Message
- func (x *Message_DiscoverSubscribe) Reset()
- func (x *Message_DiscoverSubscribe) String() string
- type Message_DiscoverSubscribeResponse
- func (*Message_DiscoverSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *Message_DiscoverSubscribeResponse) GetStatus() Message_ResponseStatus
- func (x *Message_DiscoverSubscribeResponse) GetStatusText() string
- func (x *Message_DiscoverSubscribeResponse) GetSubscriptionDetails() string
- func (x *Message_DiscoverSubscribeResponse) GetSubscriptionType() string
- func (*Message_DiscoverSubscribeResponse) ProtoMessage()
- func (x *Message_DiscoverSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *Message_DiscoverSubscribeResponse) Reset()
- func (x *Message_DiscoverSubscribeResponse) String() string
- type Message_MessageType
- func (Message_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x Message_MessageType) Enum() *Message_MessageType
- func (Message_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Message_MessageType) Number() protoreflect.EnumNumber
- func (x Message_MessageType) String() string
- func (Message_MessageType) Type() protoreflect.EnumType
- type Message_PeerInfo
- func (*Message_PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Message_PeerInfo) GetAddrs() [][]byte
- func (x *Message_PeerInfo) GetId() []byte
- func (*Message_PeerInfo) ProtoMessage()
- func (x *Message_PeerInfo) ProtoReflect() protoreflect.Message
- func (x *Message_PeerInfo) Reset()
- func (x *Message_PeerInfo) String() string
- type Message_Register
- func (*Message_Register) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Register) GetNs() string
- func (x *Message_Register) GetPeer() *Message_PeerInfo
- func (x *Message_Register) GetTtl() int64
- func (*Message_Register) ProtoMessage()
- func (x *Message_Register) ProtoReflect() protoreflect.Message
- func (x *Message_Register) Reset()
- func (x *Message_Register) String() string
- type Message_RegisterResponse
- func (*Message_RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *Message_RegisterResponse) GetStatus() Message_ResponseStatus
- func (x *Message_RegisterResponse) GetStatusText() string
- func (x *Message_RegisterResponse) GetTtl() int64
- func (*Message_RegisterResponse) ProtoMessage()
- func (x *Message_RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *Message_RegisterResponse) Reset()
- func (x *Message_RegisterResponse) String() string
- type Message_ResponseStatus
- func (Message_ResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Message_ResponseStatus) Enum() *Message_ResponseStatus
- func (Message_ResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Message_ResponseStatus) Number() protoreflect.EnumNumber
- func (x Message_ResponseStatus) String() string
- func (Message_ResponseStatus) Type() protoreflect.EnumType
- type Message_Unregister
- func (*Message_Unregister) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Unregister) GetId() []byte
- func (x *Message_Unregister) GetNs() string
- func (*Message_Unregister) ProtoMessage()
- func (x *Message_Unregister) ProtoReflect() protoreflect.Message
- func (x *Message_Unregister) Reset()
- func (x *Message_Unregister) String() string
- type RegistrationRecord
- func (*RegistrationRecord) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationRecord) GetAddrs() [][]byte
- func (x *RegistrationRecord) GetId() string
- func (x *RegistrationRecord) GetNs() string
- func (x *RegistrationRecord) GetTtl() int64
- func (*RegistrationRecord) ProtoMessage()
- func (x *RegistrationRecord) ProtoReflect() protoreflect.Message
- func (x *RegistrationRecord) Reset()
- func (x *RegistrationRecord) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Message_MessageType_name = map[int32]string{ 0: "REGISTER", 1: "REGISTER_RESPONSE", 2: "UNREGISTER", 3: "DISCOVER", 4: "DISCOVER_RESPONSE", 100: "DISCOVER_SUBSCRIBE", 101: "DISCOVER_SUBSCRIBE_RESPONSE", } Message_MessageType_value = map[string]int32{ "REGISTER": 0, "REGISTER_RESPONSE": 1, "UNREGISTER": 2, "DISCOVER": 3, "DISCOVER_RESPONSE": 4, "DISCOVER_SUBSCRIBE": 100, "DISCOVER_SUBSCRIBE_RESPONSE": 101, } )
Enum value maps for Message_MessageType.
var ( Message_ResponseStatus_name = map[int32]string{ 0: "OK", 100: "E_INVALID_NAMESPACE", 101: "E_INVALID_PEER_INFO", 102: "E_INVALID_TTL", 103: "E_INVALID_COOKIE", 200: "E_NOT_AUTHORIZED", 300: "E_INTERNAL_ERROR", 400: "E_UNAVAILABLE", } Message_ResponseStatus_value = map[string]int32{ "OK": 0, "E_INVALID_NAMESPACE": 100, "E_INVALID_PEER_INFO": 101, "E_INVALID_TTL": 102, "E_INVALID_COOKIE": 103, "E_NOT_AUTHORIZED": 200, "E_INTERNAL_ERROR": 300, "E_UNAVAILABLE": 400, } )
Enum value maps for Message_ResponseStatus.
var File_pb_rendezvous_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Type Message_MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=rendezvous.pb.Message_MessageType" json:"type,omitempty"` Register *Message_Register `protobuf:"bytes,2,opt,name=register,proto3" json:"register,omitempty"` RegisterResponse *Message_RegisterResponse `protobuf:"bytes,3,opt,name=registerResponse,proto3" json:"registerResponse,omitempty"` Unregister *Message_Unregister `protobuf:"bytes,4,opt,name=unregister,proto3" json:"unregister,omitempty"` Discover *Message_Discover `protobuf:"bytes,5,opt,name=discover,proto3" json:"discover,omitempty"` DiscoverResponse *Message_DiscoverResponse `protobuf:"bytes,6,opt,name=discoverResponse,proto3" json:"discoverResponse,omitempty"` DiscoverSubscribe *Message_DiscoverSubscribe `protobuf:"bytes,100,opt,name=discoverSubscribe,proto3" json:"discoverSubscribe,omitempty"` DiscoverSubscribeResponse *Message_DiscoverSubscribeResponse `protobuf:"bytes,101,opt,name=discoverSubscribeResponse,proto3" json:"discoverSubscribeResponse,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetDiscover ¶
func (x *Message) GetDiscover() *Message_Discover
func (*Message) GetDiscoverResponse ¶
func (x *Message) GetDiscoverResponse() *Message_DiscoverResponse
func (*Message) GetDiscoverSubscribe ¶
func (x *Message) GetDiscoverSubscribe() *Message_DiscoverSubscribe
func (*Message) GetDiscoverSubscribeResponse ¶
func (x *Message) GetDiscoverSubscribeResponse() *Message_DiscoverSubscribeResponse
func (*Message) GetRegister ¶
func (x *Message) GetRegister() *Message_Register
func (*Message) GetRegisterResponse ¶
func (x *Message) GetRegisterResponse() *Message_RegisterResponse
func (*Message) GetType ¶
func (x *Message) GetType() Message_MessageType
func (*Message) GetUnregister ¶
func (x *Message) GetUnregister() *Message_Unregister
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v0.5.1
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Discover ¶
type Message_Discover struct { Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Cookie []byte `protobuf:"bytes,3,opt,name=cookie,proto3" json:"cookie,omitempty"` // contains filtered or unexported fields }
func (*Message_Discover) Descriptor
deprecated
func (*Message_Discover) Descriptor() ([]byte, []int)
Deprecated: Use Message_Discover.ProtoReflect.Descriptor instead.
func (*Message_Discover) GetCookie ¶
func (x *Message_Discover) GetCookie() []byte
func (*Message_Discover) GetLimit ¶
func (x *Message_Discover) GetLimit() int64
func (*Message_Discover) GetNs ¶
func (x *Message_Discover) GetNs() string
func (*Message_Discover) ProtoMessage ¶
func (*Message_Discover) ProtoMessage()
func (*Message_Discover) ProtoReflect ¶ added in v0.5.1
func (x *Message_Discover) ProtoReflect() protoreflect.Message
func (*Message_Discover) Reset ¶
func (x *Message_Discover) Reset()
func (*Message_Discover) String ¶
func (x *Message_Discover) String() string
type Message_DiscoverResponse ¶
type Message_DiscoverResponse struct { Registrations []*Message_Register `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` Cookie []byte `protobuf:"bytes,2,opt,name=cookie,proto3" json:"cookie,omitempty"` Status Message_ResponseStatus `protobuf:"varint,3,opt,name=status,proto3,enum=rendezvous.pb.Message_ResponseStatus" json:"status,omitempty"` StatusText string `protobuf:"bytes,4,opt,name=statusText,proto3" json:"statusText,omitempty"` // contains filtered or unexported fields }
func (*Message_DiscoverResponse) Descriptor
deprecated
func (*Message_DiscoverResponse) Descriptor() ([]byte, []int)
Deprecated: Use Message_DiscoverResponse.ProtoReflect.Descriptor instead.
func (*Message_DiscoverResponse) GetCookie ¶
func (x *Message_DiscoverResponse) GetCookie() []byte
func (*Message_DiscoverResponse) GetRegistrations ¶
func (x *Message_DiscoverResponse) GetRegistrations() []*Message_Register
func (*Message_DiscoverResponse) GetStatus ¶
func (x *Message_DiscoverResponse) GetStatus() Message_ResponseStatus
func (*Message_DiscoverResponse) GetStatusText ¶
func (x *Message_DiscoverResponse) GetStatusText() string
func (*Message_DiscoverResponse) ProtoMessage ¶
func (*Message_DiscoverResponse) ProtoMessage()
func (*Message_DiscoverResponse) ProtoReflect ¶ added in v0.5.1
func (x *Message_DiscoverResponse) ProtoReflect() protoreflect.Message
func (*Message_DiscoverResponse) Reset ¶
func (x *Message_DiscoverResponse) Reset()
func (*Message_DiscoverResponse) String ¶
func (x *Message_DiscoverResponse) String() string
type Message_DiscoverSubscribe ¶
type Message_DiscoverSubscribe struct { SupportedSubscriptionTypes []string `` /* 141-byte string literal not displayed */ Ns string `protobuf:"bytes,2,opt,name=ns,proto3" json:"ns,omitempty"` // contains filtered or unexported fields }
func (*Message_DiscoverSubscribe) Descriptor
deprecated
func (*Message_DiscoverSubscribe) Descriptor() ([]byte, []int)
Deprecated: Use Message_DiscoverSubscribe.ProtoReflect.Descriptor instead.
func (*Message_DiscoverSubscribe) GetNs ¶
func (x *Message_DiscoverSubscribe) GetNs() string
func (*Message_DiscoverSubscribe) GetSupportedSubscriptionTypes ¶
func (x *Message_DiscoverSubscribe) GetSupportedSubscriptionTypes() []string
func (*Message_DiscoverSubscribe) ProtoMessage ¶
func (*Message_DiscoverSubscribe) ProtoMessage()
func (*Message_DiscoverSubscribe) ProtoReflect ¶ added in v0.5.1
func (x *Message_DiscoverSubscribe) ProtoReflect() protoreflect.Message
func (*Message_DiscoverSubscribe) Reset ¶
func (x *Message_DiscoverSubscribe) Reset()
func (*Message_DiscoverSubscribe) String ¶
func (x *Message_DiscoverSubscribe) String() string
type Message_DiscoverSubscribeResponse ¶
type Message_DiscoverSubscribeResponse struct { SubscriptionType string `protobuf:"bytes,1,opt,name=subscription_type,json=subscriptionType,proto3" json:"subscription_type,omitempty"` SubscriptionDetails string `protobuf:"bytes,2,opt,name=subscription_details,json=subscriptionDetails,proto3" json:"subscription_details,omitempty"` Status Message_ResponseStatus `protobuf:"varint,3,opt,name=status,proto3,enum=rendezvous.pb.Message_ResponseStatus" json:"status,omitempty"` StatusText string `protobuf:"bytes,4,opt,name=statusText,proto3" json:"statusText,omitempty"` // contains filtered or unexported fields }
func (*Message_DiscoverSubscribeResponse) Descriptor
deprecated
func (*Message_DiscoverSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use Message_DiscoverSubscribeResponse.ProtoReflect.Descriptor instead.
func (*Message_DiscoverSubscribeResponse) GetStatus ¶
func (x *Message_DiscoverSubscribeResponse) GetStatus() Message_ResponseStatus
func (*Message_DiscoverSubscribeResponse) GetStatusText ¶
func (x *Message_DiscoverSubscribeResponse) GetStatusText() string
func (*Message_DiscoverSubscribeResponse) GetSubscriptionDetails ¶
func (x *Message_DiscoverSubscribeResponse) GetSubscriptionDetails() string
func (*Message_DiscoverSubscribeResponse) GetSubscriptionType ¶
func (x *Message_DiscoverSubscribeResponse) GetSubscriptionType() string
func (*Message_DiscoverSubscribeResponse) ProtoMessage ¶
func (*Message_DiscoverSubscribeResponse) ProtoMessage()
func (*Message_DiscoverSubscribeResponse) ProtoReflect ¶ added in v0.5.1
func (x *Message_DiscoverSubscribeResponse) ProtoReflect() protoreflect.Message
func (*Message_DiscoverSubscribeResponse) Reset ¶
func (x *Message_DiscoverSubscribeResponse) Reset()
func (*Message_DiscoverSubscribeResponse) String ¶
func (x *Message_DiscoverSubscribeResponse) String() string
type Message_MessageType ¶
type Message_MessageType int32
const ( Message_REGISTER Message_MessageType = 0 Message_REGISTER_RESPONSE Message_MessageType = 1 Message_UNREGISTER Message_MessageType = 2 Message_DISCOVER Message_MessageType = 3 Message_DISCOVER_RESPONSE Message_MessageType = 4 Message_DISCOVER_SUBSCRIBE Message_MessageType = 100 Message_DISCOVER_SUBSCRIBE_RESPONSE Message_MessageType = 101 )
func (Message_MessageType) Descriptor ¶ added in v0.5.1
func (Message_MessageType) Descriptor() protoreflect.EnumDescriptor
func (Message_MessageType) Enum ¶ added in v0.5.1
func (x Message_MessageType) Enum() *Message_MessageType
func (Message_MessageType) EnumDescriptor
deprecated
func (Message_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Message_MessageType.Descriptor instead.
func (Message_MessageType) Number ¶ added in v0.5.1
func (x Message_MessageType) Number() protoreflect.EnumNumber
func (Message_MessageType) String ¶
func (x Message_MessageType) String() string
func (Message_MessageType) Type ¶ added in v0.5.1
func (Message_MessageType) Type() protoreflect.EnumType
type Message_PeerInfo ¶
type Message_PeerInfo struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Addrs [][]byte `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*Message_PeerInfo) Descriptor
deprecated
func (*Message_PeerInfo) Descriptor() ([]byte, []int)
Deprecated: Use Message_PeerInfo.ProtoReflect.Descriptor instead.
func (*Message_PeerInfo) GetAddrs ¶
func (x *Message_PeerInfo) GetAddrs() [][]byte
func (*Message_PeerInfo) GetId ¶
func (x *Message_PeerInfo) GetId() []byte
func (*Message_PeerInfo) ProtoMessage ¶
func (*Message_PeerInfo) ProtoMessage()
func (*Message_PeerInfo) ProtoReflect ¶ added in v0.5.1
func (x *Message_PeerInfo) ProtoReflect() protoreflect.Message
func (*Message_PeerInfo) Reset ¶
func (x *Message_PeerInfo) Reset()
func (*Message_PeerInfo) String ¶
func (x *Message_PeerInfo) String() string
type Message_Register ¶
type Message_Register struct { Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"` Peer *Message_PeerInfo `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"` Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // in seconds // contains filtered or unexported fields }
func (*Message_Register) Descriptor
deprecated
func (*Message_Register) Descriptor() ([]byte, []int)
Deprecated: Use Message_Register.ProtoReflect.Descriptor instead.
func (*Message_Register) GetNs ¶
func (x *Message_Register) GetNs() string
func (*Message_Register) GetPeer ¶
func (x *Message_Register) GetPeer() *Message_PeerInfo
func (*Message_Register) GetTtl ¶
func (x *Message_Register) GetTtl() int64
func (*Message_Register) ProtoMessage ¶
func (*Message_Register) ProtoMessage()
func (*Message_Register) ProtoReflect ¶ added in v0.5.1
func (x *Message_Register) ProtoReflect() protoreflect.Message
func (*Message_Register) Reset ¶
func (x *Message_Register) Reset()
func (*Message_Register) String ¶
func (x *Message_Register) String() string
type Message_RegisterResponse ¶
type Message_RegisterResponse struct { Status Message_ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=rendezvous.pb.Message_ResponseStatus" json:"status,omitempty"` StatusText string `protobuf:"bytes,2,opt,name=statusText,proto3" json:"statusText,omitempty"` Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*Message_RegisterResponse) Descriptor
deprecated
func (*Message_RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use Message_RegisterResponse.ProtoReflect.Descriptor instead.
func (*Message_RegisterResponse) GetStatus ¶
func (x *Message_RegisterResponse) GetStatus() Message_ResponseStatus
func (*Message_RegisterResponse) GetStatusText ¶
func (x *Message_RegisterResponse) GetStatusText() string
func (*Message_RegisterResponse) GetTtl ¶
func (x *Message_RegisterResponse) GetTtl() int64
func (*Message_RegisterResponse) ProtoMessage ¶
func (*Message_RegisterResponse) ProtoMessage()
func (*Message_RegisterResponse) ProtoReflect ¶ added in v0.5.1
func (x *Message_RegisterResponse) ProtoReflect() protoreflect.Message
func (*Message_RegisterResponse) Reset ¶
func (x *Message_RegisterResponse) Reset()
func (*Message_RegisterResponse) String ¶
func (x *Message_RegisterResponse) String() string
type Message_ResponseStatus ¶
type Message_ResponseStatus int32
const ( Message_OK Message_ResponseStatus = 0 Message_E_INVALID_NAMESPACE Message_ResponseStatus = 100 Message_E_INVALID_PEER_INFO Message_ResponseStatus = 101 Message_E_INVALID_TTL Message_ResponseStatus = 102 Message_E_INVALID_COOKIE Message_ResponseStatus = 103 Message_E_NOT_AUTHORIZED Message_ResponseStatus = 200 Message_E_INTERNAL_ERROR Message_ResponseStatus = 300 Message_E_UNAVAILABLE Message_ResponseStatus = 400 )
func (Message_ResponseStatus) Descriptor ¶ added in v0.5.1
func (Message_ResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (Message_ResponseStatus) Enum ¶ added in v0.5.1
func (x Message_ResponseStatus) Enum() *Message_ResponseStatus
func (Message_ResponseStatus) EnumDescriptor
deprecated
func (Message_ResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Message_ResponseStatus.Descriptor instead.
func (Message_ResponseStatus) Number ¶ added in v0.5.1
func (x Message_ResponseStatus) Number() protoreflect.EnumNumber
func (Message_ResponseStatus) String ¶
func (x Message_ResponseStatus) String() string
func (Message_ResponseStatus) Type ¶ added in v0.5.1
func (Message_ResponseStatus) Type() protoreflect.EnumType
type Message_Unregister ¶
type Message_Unregister struct { Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Message_Unregister) Descriptor
deprecated
func (*Message_Unregister) Descriptor() ([]byte, []int)
Deprecated: Use Message_Unregister.ProtoReflect.Descriptor instead.
func (*Message_Unregister) GetId ¶
func (x *Message_Unregister) GetId() []byte
func (*Message_Unregister) GetNs ¶
func (x *Message_Unregister) GetNs() string
func (*Message_Unregister) ProtoMessage ¶
func (*Message_Unregister) ProtoMessage()
func (*Message_Unregister) ProtoReflect ¶ added in v0.5.1
func (x *Message_Unregister) ProtoReflect() protoreflect.Message
func (*Message_Unregister) Reset ¶
func (x *Message_Unregister) Reset()
func (*Message_Unregister) String ¶
func (x *Message_Unregister) String() string
type RegistrationRecord ¶
type RegistrationRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Addrs [][]byte `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"` Ns string `protobuf:"bytes,3,opt,name=ns,proto3" json:"ns,omitempty"` Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*RegistrationRecord) Descriptor
deprecated
func (*RegistrationRecord) Descriptor() ([]byte, []int)
Deprecated: Use RegistrationRecord.ProtoReflect.Descriptor instead.
func (*RegistrationRecord) GetAddrs ¶
func (x *RegistrationRecord) GetAddrs() [][]byte
func (*RegistrationRecord) GetId ¶
func (x *RegistrationRecord) GetId() string
func (*RegistrationRecord) GetNs ¶
func (x *RegistrationRecord) GetNs() string
func (*RegistrationRecord) GetTtl ¶
func (x *RegistrationRecord) GetTtl() int64
func (*RegistrationRecord) ProtoMessage ¶
func (*RegistrationRecord) ProtoMessage()
func (*RegistrationRecord) ProtoReflect ¶ added in v0.5.1
func (x *RegistrationRecord) ProtoReflect() protoreflect.Message
func (*RegistrationRecord) Reset ¶
func (x *RegistrationRecord) Reset()
func (*RegistrationRecord) String ¶
func (x *RegistrationRecord) String() string