pb

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetENR

func (x *PeerInfo) GetENR() []byte

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect

func (x *PeerInfo) ProtoReflect() protoreflect.Message

func (*PeerInfo) Reset

func (x *PeerInfo) Reset()

func (*PeerInfo) String

func (x *PeerInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL