Documentation ¶
Index ¶
- Variables
- type Frame
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCommand() string
- func (x *Message) GetFailure() *v1.Failure
- func (x *Message) GetHeader() *v11.Header
- func (x *Message) GetId() uint64
- func (x *Message) GetOptions() []byte
- func (x *Message) GetPayloads() *v11.Payloads
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protocol_v1_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Frame) Descriptor
deprecated
func (*Frame) GetMessages ¶
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) ProtoReflect ¶
func (x *Frame) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // command name (if any) Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // command options in json format. Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // error response. Failure *v1.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` // invocation or result payloads. Payloads *v11.Payloads `protobuf:"bytes,5,opt,name=payloads,proto3" json:"payloads,omitempty"` // invocation or result payloads. Header *v11.Header `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
Single communication message.
func (*Message) Descriptor
deprecated
func (*Message) GetCommand ¶
func (*Message) GetFailure ¶
func (*Message) GetOptions ¶
func (*Message) GetPayloads ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.