gossipproto

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetData

func (x *Block) GetData() []byte

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

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

Deprecated: Use Packet.ProtoReflect.Descriptor instead.

func (*Packet) GetBlock

func (x *Packet) GetBlock() *Block

func (*Packet) GetBlockRequest

func (x *Packet) GetBlockRequest() *BlockRequest

func (*Packet) GetBody

func (m *Packet) GetBody() isPacket_Body

func (*Packet) GetNegotiation

func (x *Packet) GetNegotiation() *Negotiation

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) ProtoReflect

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

func (*Packet) Reset

func (x *Packet) Reset()

func (*Packet) String

func (x *Packet) String() string

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"`
}

Jump to

Keyboard shortcuts

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