Documentation ¶
Index ¶
- Variables
- type Message
- type MessageRequest
- type Negotiation
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)deprecated
- func (m *Packet) GetBody() isPacket_Body
- func (x *Packet) GetMessage() *Message
- func (x *Packet) GetMessageRequest() *MessageRequest
- 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_Message
- type Packet_MessageRequest
- type Packet_Negotiation
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) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
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) GetMessage ¶
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
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"`
}
Click to show internal directories.
Click to hide internal directories.