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 Setting
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var File_demo2_proto protoreflect.FileDescriptor
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 Setting ¶ added in v1.1.32
type Setting struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The response message containing the greetings
func (*Setting) Descriptor
deprecated
added in
v1.1.32
func (*Setting) ProtoMessage ¶ added in v1.1.32
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶ added in v1.1.32
func (x *Setting) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,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) GetNickname ¶ added in v1.1.32
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.