Documentation ¶
Index ¶
- Variables
- type Id
- type InvalidRequest
- type Null
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetArg() *anypb.Any
- func (x *Request) GetId() *anypb.Any
- func (x *Request) GetMethod() 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) GetError() *anypb.Any
- func (x *Response) GetId() *anypb.Any
- func (x *Response) GetResult() *anypb.Any
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type String
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protobuf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Id ¶
type Id struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Id) Descriptor
deprecated
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) ProtoReflect ¶
func (x *Id) ProtoReflect() protoreflect.Message
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 Null ¶
type Null struct {
// contains filtered or unexported fields
}
func (*Null) Descriptor
deprecated
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶
func (x *Null) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Arg *anypb.Any `protobuf:"bytes,2,opt,name=arg,proto3" json:"arg,omitempty"` Id *anypb.Any `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Id *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Result *anypb.Any `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` Error *anypb.Any `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type String ¶
type String struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` // contains filtered or unexported fields }
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.