Documentation ¶
Index ¶
- Variables
- type PeerExchangeQuery
- type PeerExchangeRPC
- func (*PeerExchangeRPC) Descriptor() ([]byte, []int)deprecated
- func (x *PeerExchangeRPC) GetQuery() *PeerExchangeQuery
- func (x *PeerExchangeRPC) GetResponse() *PeerExchangeResponse
- func (*PeerExchangeRPC) ProtoMessage()
- func (x *PeerExchangeRPC) ProtoReflect() protoreflect.Message
- func (x *PeerExchangeRPC) Reset()
- func (x *PeerExchangeRPC) String() string
- type PeerExchangeResponse
- func (*PeerExchangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PeerExchangeResponse) GetPeerInfos() []*PeerInfo
- func (*PeerExchangeResponse) ProtoMessage()
- func (x *PeerExchangeResponse) ProtoReflect() protoreflect.Message
- func (x *PeerExchangeResponse) Reset()
- func (x *PeerExchangeResponse) String() string
- type PeerInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var File_waku_peer_exchange_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PeerExchangeQuery ¶
type PeerExchangeQuery struct { NumPeers uint64 `protobuf:"varint,1,opt,name=numPeers,proto3" json:"numPeers,omitempty"` // number of peers requested // contains filtered or unexported fields }
func (*PeerExchangeQuery) Descriptor
deprecated
func (*PeerExchangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use PeerExchangeQuery.ProtoReflect.Descriptor instead.
func (*PeerExchangeQuery) GetNumPeers ¶
func (x *PeerExchangeQuery) GetNumPeers() uint64
func (*PeerExchangeQuery) ProtoMessage ¶
func (*PeerExchangeQuery) ProtoMessage()
func (*PeerExchangeQuery) ProtoReflect ¶
func (x *PeerExchangeQuery) ProtoReflect() protoreflect.Message
func (*PeerExchangeQuery) Reset ¶
func (x *PeerExchangeQuery) Reset()
func (*PeerExchangeQuery) String ¶
func (x *PeerExchangeQuery) String() string
type PeerExchangeRPC ¶
type PeerExchangeRPC struct { Query *PeerExchangeQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Response *PeerExchangeResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*PeerExchangeRPC) Descriptor
deprecated
func (*PeerExchangeRPC) Descriptor() ([]byte, []int)
Deprecated: Use PeerExchangeRPC.ProtoReflect.Descriptor instead.
func (*PeerExchangeRPC) GetQuery ¶
func (x *PeerExchangeRPC) GetQuery() *PeerExchangeQuery
func (*PeerExchangeRPC) GetResponse ¶
func (x *PeerExchangeRPC) GetResponse() *PeerExchangeResponse
func (*PeerExchangeRPC) ProtoMessage ¶
func (*PeerExchangeRPC) ProtoMessage()
func (*PeerExchangeRPC) ProtoReflect ¶
func (x *PeerExchangeRPC) ProtoReflect() protoreflect.Message
func (*PeerExchangeRPC) Reset ¶
func (x *PeerExchangeRPC) Reset()
func (*PeerExchangeRPC) String ¶
func (x *PeerExchangeRPC) String() string
type PeerExchangeResponse ¶
type PeerExchangeResponse struct { PeerInfos []*PeerInfo `protobuf:"bytes,1,rep,name=peerInfos,proto3" json:"peerInfos,omitempty"` // contains filtered or unexported fields }
func (*PeerExchangeResponse) Descriptor
deprecated
func (*PeerExchangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PeerExchangeResponse.ProtoReflect.Descriptor instead.
func (*PeerExchangeResponse) GetPeerInfos ¶
func (x *PeerExchangeResponse) GetPeerInfos() []*PeerInfo
func (*PeerExchangeResponse) ProtoMessage ¶
func (*PeerExchangeResponse) ProtoMessage()
func (*PeerExchangeResponse) ProtoReflect ¶
func (x *PeerExchangeResponse) ProtoReflect() protoreflect.Message
func (*PeerExchangeResponse) Reset ¶
func (x *PeerExchangeResponse) Reset()
func (*PeerExchangeResponse) String ¶
func (x *PeerExchangeResponse) String() string
type PeerInfo ¶
type PeerInfo struct { ENR []byte `protobuf:"bytes,1,opt,name=ENR,proto3" json:"ENR,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
Click to show internal directories.
Click to hide internal directories.