Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_p2p_pb_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PeerInfo ¶
type PeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*PeerInfo) Descriptor
deprecated
func (*PeerInfo) ProtoMessage ¶
func (*PeerInfo) ProtoMessage()
func (*PeerInfo) ProtoReflect ¶
func (x *PeerInfo) ProtoReflect() protoreflect.Message
type RoutingQuery ¶
type RoutingQuery struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*RoutingQuery) Descriptor
deprecated
func (*RoutingQuery) Descriptor() ([]byte, []int)
Deprecated: Use RoutingQuery.ProtoReflect.Descriptor instead.
func (*RoutingQuery) GetIds ¶
func (x *RoutingQuery) GetIds() []string
func (*RoutingQuery) ProtoMessage ¶
func (*RoutingQuery) ProtoMessage()
func (*RoutingQuery) ProtoReflect ¶
func (x *RoutingQuery) ProtoReflect() protoreflect.Message
func (*RoutingQuery) Reset ¶
func (x *RoutingQuery) Reset()
func (*RoutingQuery) String ¶
func (x *RoutingQuery) String() string
type RoutingResponse ¶
type RoutingResponse struct { Peers []*PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*RoutingResponse) Descriptor
deprecated
func (*RoutingResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoutingResponse.ProtoReflect.Descriptor instead.
func (*RoutingResponse) GetPeers ¶
func (x *RoutingResponse) GetPeers() []*PeerInfo
func (*RoutingResponse) ProtoMessage ¶
func (*RoutingResponse) ProtoMessage()
func (*RoutingResponse) ProtoReflect ¶
func (x *RoutingResponse) ProtoReflect() protoreflect.Message
func (*RoutingResponse) Reset ¶
func (x *RoutingResponse) Reset()
func (*RoutingResponse) String ¶
func (x *RoutingResponse) String() string
Click to show internal directories.
Click to hide internal directories.