protosrc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL