Documentation ¶
Index ¶
- Variables
- type Block
- type BlockRequest
- type Negotiation
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)deprecated
- func (x *Packet) GetBlock() *Block
- func (x *Packet) GetBlockRequest() *BlockRequest
- func (m *Packet) GetBody() isPacket_Body
- func (x *Packet) GetNegotiation() *Negotiation
- func (*Packet) ProtoMessage()
- func (x *Packet) ProtoReflect() protoreflect.Message
- func (x *Packet) Reset()
- func (x *Packet) String() string
- type Packet_Block
- type Packet_BlockRequest
- type Packet_Negotiation
Constants ¶
This section is empty.
Variables ¶
View Source
var File_packages_node_gossip_gossipproto_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockRequest ¶
type BlockRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BlockRequest) Descriptor
deprecated
func (*BlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.
func (*BlockRequest) GetId ¶
func (x *BlockRequest) GetId() []byte
func (*BlockRequest) ProtoMessage ¶
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) ProtoReflect ¶
func (x *BlockRequest) ProtoReflect() protoreflect.Message
func (*BlockRequest) Reset ¶
func (x *BlockRequest) Reset()
func (*BlockRequest) String ¶
func (x *BlockRequest) String() string
type Negotiation ¶
type Negotiation struct {
// contains filtered or unexported fields
}
func (*Negotiation) Descriptor
deprecated
func (*Negotiation) Descriptor() ([]byte, []int)
Deprecated: Use Negotiation.ProtoReflect.Descriptor instead.
func (*Negotiation) ProtoMessage ¶
func (*Negotiation) ProtoMessage()
func (*Negotiation) ProtoReflect ¶
func (x *Negotiation) ProtoReflect() protoreflect.Message
func (*Negotiation) Reset ¶
func (x *Negotiation) Reset()
func (*Negotiation) String ¶
func (x *Negotiation) String() string
type Packet ¶
type Packet struct { // Types that are assignable to Body: // *Packet_Block // *Packet_BlockRequest // *Packet_Negotiation Body isPacket_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*Packet) Descriptor
deprecated
func (*Packet) GetBlockRequest ¶
func (x *Packet) GetBlockRequest() *BlockRequest
func (*Packet) GetNegotiation ¶
func (x *Packet) GetNegotiation() *Negotiation
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect ¶
func (x *Packet) ProtoReflect() protoreflect.Message
type Packet_Block ¶
type Packet_Block struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3,oneof"`
}
type Packet_BlockRequest ¶
type Packet_BlockRequest struct {
BlockRequest *BlockRequest `protobuf:"bytes,2,opt,name=blockRequest,proto3,oneof"`
}
type Packet_Negotiation ¶
type Packet_Negotiation struct {
Negotiation *Negotiation `protobuf:"bytes,3,opt,name=negotiation,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.