Documentation ¶
Index ¶
- Variables
- type ReqStc
- type RespStc
- func (*RespStc) Descriptor() ([]byte, []int)deprecated
- func (x *RespStc) GetCode() int64
- func (x *RespStc) GetData() string
- func (x *RespStc) GetMessage() string
- func (*RespStc) ProtoMessage()
- func (x *RespStc) ProtoReflect() protoreflect.Message
- func (x *RespStc) Reset()
- func (x *RespStc) String() string
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var File_demo_proto protoreflect.FileDescriptor
View Source
var File_req_resp_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ReqStc ¶
type ReqStc struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
The response message containing the greetings
func (*ReqStc) Descriptor
deprecated
func (*ReqStc) GetRequestId ¶
func (*ReqStc) ProtoMessage ¶
func (*ReqStc) ProtoMessage()
func (*ReqStc) ProtoReflect ¶
func (x *ReqStc) ProtoReflect() protoreflect.Message
type RespStc ¶
type RespStc struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RespStc) Descriptor
deprecated
func (*RespStc) GetMessage ¶
func (*RespStc) ProtoMessage ¶
func (*RespStc) ProtoMessage()
func (*RespStc) ProtoReflect ¶
func (x *RespStc) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Nickanme string `protobuf:"bytes,1,opt,name=nickanme,proto3" json:"nickanme,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
The response message containing the greetings
func (*User) Descriptor
deprecated
func (*User) GetAccount ¶
func (*User) GetNickanme ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.