gossipproto

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Message

type Message struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData

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

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageRequest

type MessageRequest struct {
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageRequest) Descriptor deprecated

func (*MessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use MessageRequest.ProtoReflect.Descriptor instead.

func (*MessageRequest) GetId

func (x *MessageRequest) GetId() []byte

func (*MessageRequest) ProtoMessage

func (*MessageRequest) ProtoMessage()

func (*MessageRequest) ProtoReflect

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

func (*MessageRequest) Reset

func (x *MessageRequest) Reset()

func (*MessageRequest) String

func (x *MessageRequest) 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_Message
	//	*Packet_MessageRequest
	//	*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) GetBody

func (m *Packet) GetBody() isPacket_Body

func (*Packet) GetMessage

func (x *Packet) GetMessage() *Message

func (*Packet) GetMessageRequest

func (x *Packet) GetMessageRequest() *MessageRequest

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_Message

type Packet_Message struct {
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}

type Packet_MessageRequest

type Packet_MessageRequest struct {
	MessageRequest *MessageRequest `protobuf:"bytes,2,opt,name=messageRequest,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