Documentation ¶
Index ¶
- Variables
- type InvalidRequest
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetData() []byte
- func (x *Request) GetId() uint64
- func (x *Request) GetKind() int32
- func (x *Request) GetMethod() string
- func (x *Request) GetService() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetData() []byte
- func (x *Response) GetError() string
- func (x *Response) GetId() uint64
- func (x *Response) GetKind() int32
- func (x *Response) GetMethod() string
- func (x *Response) GetService() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_wire_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type InvalidRequest ¶
type InvalidRequest struct {
// contains filtered or unexported fields
}
func (*InvalidRequest) Descriptor
deprecated
func (*InvalidRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvalidRequest.ProtoReflect.Descriptor instead.
func (*InvalidRequest) ProtoMessage ¶
func (*InvalidRequest) ProtoMessage()
func (*InvalidRequest) ProtoReflect ¶
func (x *InvalidRequest) ProtoReflect() protoreflect.Message
func (*InvalidRequest) Reset ¶
func (x *InvalidRequest) Reset()
func (*InvalidRequest) String ¶
func (x *InvalidRequest) String() string
type Request ¶
type Request struct { Kind int32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetService ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Kind int32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetService ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.