Documentation
¶
Index ¶
- Variables
- type RespInfoProto
- func (*RespInfoProto) Descriptor() ([]byte, []int)deprecated
- func (x *RespInfoProto) GetCode() int32
- func (x *RespInfoProto) GetData() *anypb.Any
- func (x *RespInfoProto) GetMsg() string
- func (*RespInfoProto) ProtoMessage()
- func (x *RespInfoProto) ProtoReflect() protoreflect.Message
- func (x *RespInfoProto) Reset()
- func (x *RespInfoProto) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rpc_protosrc_resp_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RespInfoProto ¶
type RespInfoProto struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
RespInfoProto 对应 RespInfo 的 protobuf 消息定义
func (*RespInfoProto) Descriptor
deprecated
func (*RespInfoProto) Descriptor() ([]byte, []int)
Deprecated: Use RespInfoProto.ProtoReflect.Descriptor instead.
func (*RespInfoProto) GetCode ¶
func (x *RespInfoProto) GetCode() int32
func (*RespInfoProto) GetData ¶
func (x *RespInfoProto) GetData() *anypb.Any
func (*RespInfoProto) GetMsg ¶
func (x *RespInfoProto) GetMsg() string
func (*RespInfoProto) ProtoMessage ¶
func (*RespInfoProto) ProtoMessage()
func (*RespInfoProto) ProtoReflect ¶
func (x *RespInfoProto) ProtoReflect() protoreflect.Message
func (*RespInfoProto) Reset ¶
func (x *RespInfoProto) Reset()
func (*RespInfoProto) String ¶
func (x *RespInfoProto) String() string
Click to show internal directories.
Click to hide internal directories.