Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetByIDReq ¶
type GetByIDReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetByIDReq) Descriptor
deprecated
func (*GetByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetByIDReq.ProtoReflect.Descriptor instead.
func (*GetByIDReq) GetId ¶
func (x *GetByIDReq) GetId() int64
func (*GetByIDReq) ProtoMessage ¶
func (*GetByIDReq) ProtoMessage()
func (*GetByIDReq) ProtoReflect ¶
func (x *GetByIDReq) ProtoReflect() protoreflect.Message
func (*GetByIDReq) Reset ¶
func (x *GetByIDReq) Reset()
func (*GetByIDReq) String ¶
func (x *GetByIDReq) String() string
type GetByIDResp ¶
type GetByIDResp struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetByIDResp) Descriptor
deprecated
func (*GetByIDResp) Descriptor() ([]byte, []int)
Deprecated: Use GetByIDResp.ProtoReflect.Descriptor instead.
func (*GetByIDResp) GetUser ¶
func (x *GetByIDResp) GetUser() *User
func (*GetByIDResp) ProtoMessage ¶
func (*GetByIDResp) ProtoMessage()
func (*GetByIDResp) ProtoReflect ¶
func (x *GetByIDResp) ProtoReflect() protoreflect.Message
func (*GetByIDResp) Reset ¶
func (x *GetByIDResp) Reset()
func (*GetByIDResp) String ¶
func (x *GetByIDResp) String() string
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
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.